| .. | .. |
|---|
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * SPU file system |
|---|
| 3 | 4 | * |
|---|
| 4 | 5 | * (C) Copyright IBM Deutschland Entwicklung GmbH 2005 |
|---|
| 5 | 6 | * |
|---|
| 6 | 7 | * Author: Arnd Bergmann <arndb@de.ibm.com> |
|---|
| 7 | | - * |
|---|
| 8 | | - * This program is free software; you can redistribute it and/or modify |
|---|
| 9 | | - * it under the terms of the GNU General Public License as published by |
|---|
| 10 | | - * the Free Software Foundation; either version 2, or (at your option) |
|---|
| 11 | | - * any later version. |
|---|
| 12 | | - * |
|---|
| 13 | | - * This program is distributed in the hope that it will be useful, |
|---|
| 14 | | - * but WITHOUT ANY WARRANTY; without even the implied warranty of |
|---|
| 15 | | - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|---|
| 16 | | - * GNU General Public License for more details. |
|---|
| 17 | | - * |
|---|
| 18 | | - * You should have received a copy of the GNU General Public License |
|---|
| 19 | | - * along with this program; if not, write to the Free Software |
|---|
| 20 | | - * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. |
|---|
| 21 | 8 | */ |
|---|
| 22 | 9 | #ifndef SPUFS_H |
|---|
| 23 | 10 | #define SPUFS_H |
|---|
| .. | .. |
|---|
| 350 | 337 | extern struct spu_coredump_calls spufs_coredump_calls; |
|---|
| 351 | 338 | struct spufs_coredump_reader { |
|---|
| 352 | 339 | char *name; |
|---|
| 353 | | - ssize_t (*read)(struct spu_context *ctx, |
|---|
| 354 | | - char __user *buffer, size_t size, loff_t *pos); |
|---|
| 340 | + ssize_t (*dump)(struct spu_context *ctx, struct coredump_params *cprm); |
|---|
| 355 | 341 | u64 (*get)(struct spu_context *ctx); |
|---|
| 356 | 342 | size_t size; |
|---|
| 357 | 343 | }; |
|---|