forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-12-19 9370bb92b2d16684ee45cf24e879c93c509162da
kernel/arch/powerpc/platforms/cell/spufs/spufs.h
....@@ -1,23 +1,10 @@
1
+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * SPU file system
34 *
45 * (C) Copyright IBM Deutschland Entwicklung GmbH 2005
56 *
67 * 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.
218 */
229 #ifndef SPUFS_H
2310 #define SPUFS_H
....@@ -350,8 +337,7 @@
350337 extern struct spu_coredump_calls spufs_coredump_calls;
351338 struct spufs_coredump_reader {
352339 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);
355341 u64 (*get)(struct spu_context *ctx);
356342 size_t size;
357343 };