diff options
author | Sebastian Siewior <cbe-oss-dev@ml.breakpoint.cc> | 2007-09-19 08:38:12 +0400 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2007-09-19 09:12:16 +0400 |
commit | 1238819a41b6e38e1560afe8f33bbc815671b4f7 (patch) | |
tree | 481d54e3f710c66d68d8d5fe4c0d91698e2a3db1 /arch/powerpc/platforms/cell/spufs/run.c | |
parent | aa0154290fc05948560ac43afcccf8259e10bcd0 (diff) | |
download | linux-1238819a41b6e38e1560afe8f33bbc815671b4f7.tar.xz |
[POWERPC] spufs: Make file-internal functions & variables static
There are a few symbols used only in one file within spufs; this change
makes them static where suitable.
Signed-off-by: Sebastian Siewior <sebastian@breakpoint.cc>
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/powerpc/platforms/cell/spufs/run.c')
-rw-r--r-- | arch/powerpc/platforms/cell/spufs/run.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/powerpc/platforms/cell/spufs/run.c b/arch/powerpc/platforms/cell/spufs/run.c index 958f10e90fdd..1ce5e22ea5f4 100644 --- a/arch/powerpc/platforms/cell/spufs/run.c +++ b/arch/powerpc/platforms/cell/spufs/run.c @@ -205,7 +205,7 @@ static int spu_reacquire_runnable(struct spu_context *ctx, u32 *npc, * This means we can only do a very rough approximation of POSIX * signal semantics. */ -int spu_handle_restartsys(struct spu_context *ctx, long *spu_ret, +static int spu_handle_restartsys(struct spu_context *ctx, long *spu_ret, unsigned int *npc) { int ret; @@ -241,7 +241,7 @@ int spu_handle_restartsys(struct spu_context *ctx, long *spu_ret, return ret; } -int spu_process_callback(struct spu_context *ctx) +static int spu_process_callback(struct spu_context *ctx) { struct spu_syscall_block s; u32 ls_pointer, npc; |