diff options
author | Arnd Bergmann <arnd@arndb.de> | 2006-01-11 18:07:11 -0500 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2006-01-12 04:39:14 -0500 |
commit | 8fce10a3c9ee7f9c74d83502fd5156a8ec82c21a (patch) | |
tree | 4435d67411d7bf350a1a02784a0710f9162bd140 /arch | |
parent | b0da985644faa45def84ce5d8e18af6f1680f490 (diff) |
[PATCH] powerpc: cell namespace cleanup
These symbols are only used in the file that they are defined in,
so they should not be in the global namespace.
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/powerpc/platforms/cell/pervasive.c | 2 | ||||
-rw-r--r-- | arch/powerpc/platforms/cell/setup.c | 2 | ||||
-rw-r--r-- | arch/powerpc/platforms/cell/spufs/syscalls.c | 4 |
3 files changed, 5 insertions, 3 deletions
diff --git a/arch/powerpc/platforms/cell/pervasive.c b/arch/powerpc/platforms/cell/pervasive.c index 85152544c153..e0e051c675dd 100644 --- a/arch/powerpc/platforms/cell/pervasive.c +++ b/arch/powerpc/platforms/cell/pervasive.c | |||
@@ -142,7 +142,7 @@ static void cbe_idle(void) | |||
142 | } | 142 | } |
143 | } | 143 | } |
144 | 144 | ||
145 | int cbe_system_reset_exception(struct pt_regs *regs) | 145 | static int cbe_system_reset_exception(struct pt_regs *regs) |
146 | { | 146 | { |
147 | switch (regs->msr & SRR1_WAKEMASK) { | 147 | switch (regs->msr & SRR1_WAKEMASK) { |
148 | case SRR1_WAKEEE: | 148 | case SRR1_WAKEEE: |
diff --git a/arch/powerpc/platforms/cell/setup.c b/arch/powerpc/platforms/cell/setup.c index 18e25e65c04b..b33a4443f5a9 100644 --- a/arch/powerpc/platforms/cell/setup.c +++ b/arch/powerpc/platforms/cell/setup.c | |||
@@ -57,7 +57,7 @@ | |||
57 | #define DBG(fmt...) | 57 | #define DBG(fmt...) |
58 | #endif | 58 | #endif |
59 | 59 | ||
60 | void cell_show_cpuinfo(struct seq_file *m) | 60 | static void cell_show_cpuinfo(struct seq_file *m) |
61 | { | 61 | { |
62 | struct device_node *root; | 62 | struct device_node *root; |
63 | const char *model = ""; | 63 | const char *model = ""; |
diff --git a/arch/powerpc/platforms/cell/spufs/syscalls.c b/arch/powerpc/platforms/cell/spufs/syscalls.c index d549aa7ebea6..e6565a949ddc 100644 --- a/arch/powerpc/platforms/cell/spufs/syscalls.c +++ b/arch/powerpc/platforms/cell/spufs/syscalls.c | |||
@@ -29,7 +29,9 @@ | |||
29 | * value of the spu_status register after the SPU has stopped. | 29 | * value of the spu_status register after the SPU has stopped. |
30 | * | 30 | * |
31 | */ | 31 | */ |
32 | long do_spu_run(struct file *filp, __u32 __user *unpc, __u32 __user *ustatus) | 32 | static long do_spu_run(struct file *filp, |
33 | __u32 __user *unpc, | ||
34 | __u32 __user *ustatus) | ||
33 | { | 35 | { |
34 | long ret; | 36 | long ret; |
35 | struct spufs_inode_info *i; | 37 | struct spufs_inode_info *i; |