diff options
author | Michael Ellerman <michael@ellerman.id.au> | 2007-09-19 04:38:12 (GMT) |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2007-09-19 05:12:18 (GMT) |
commit | 74de08bc10dd4d67870cf5b6c5aaf6875cd869c5 (patch) | |
tree | 4d415d2a167ff64764c5b75debdd0b57156eab6e /arch/powerpc/platforms/cell/spufs/spufs.h | |
parent | 936d5bf1d7dc69c56bf79ad68819e597307a1884 (diff) | |
download | linux-fsl-qoriq-74de08bc10dd4d67870cf5b6c5aaf6875cd869c5.tar.xz |
[POWERPC] spufs: Internal __spufs_get_foo() routines should take a spu_context *
The SPUFS attribute get routines take a void * because the generic attribute
code doesn't know what sort of data it's passing around.
However our internal __spufs_get_foo() routines can take a spu_context *
directly, which saves plonking it in and out of a void * again.
Signed-off-by: Michael Ellerman <michael@ellerman.id.au>
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Acked-by: Arnd Bergmann <arnd.bergmann@de.ibm.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/powerpc/platforms/cell/spufs/spufs.h')
-rw-r--r-- | arch/powerpc/platforms/cell/spufs/spufs.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/platforms/cell/spufs/spufs.h b/arch/powerpc/platforms/cell/spufs/spufs.h index 3dbffeb..f869a4b 100644 --- a/arch/powerpc/platforms/cell/spufs/spufs.h +++ b/arch/powerpc/platforms/cell/spufs/spufs.h @@ -296,7 +296,7 @@ struct spufs_coredump_reader { char *name; ssize_t (*read)(struct spu_context *ctx, char __user *buffer, size_t size, loff_t *pos); - u64 (*get)(void *data); + u64 (*get)(struct spu_context *ctx); size_t size; }; extern struct spufs_coredump_reader spufs_coredump_read[]; |