Commit 8fce10a3 authored by Arnd Bergmann's avatar Arnd Bergmann Committed by Paul Mackerras

[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: default avatarArnd Bergmann <arnd@arndb.de>
Signed-off-by: default avatarPaul Mackerras <paulus@samba.org>
parent b0da9856
...@@ -142,7 +142,7 @@ static void cbe_idle(void) ...@@ -142,7 +142,7 @@ static void cbe_idle(void)
} }
} }
int cbe_system_reset_exception(struct pt_regs *regs) static int cbe_system_reset_exception(struct pt_regs *regs)
{ {
switch (regs->msr & SRR1_WAKEMASK) { switch (regs->msr & SRR1_WAKEMASK) {
case SRR1_WAKEEE: case SRR1_WAKEEE:
......
...@@ -57,7 +57,7 @@ ...@@ -57,7 +57,7 @@
#define DBG(fmt...) #define DBG(fmt...)
#endif #endif
void cell_show_cpuinfo(struct seq_file *m) static void cell_show_cpuinfo(struct seq_file *m)
{ {
struct device_node *root; struct device_node *root;
const char *model = ""; const char *model = "";
......
...@@ -29,7 +29,9 @@ ...@@ -29,7 +29,9 @@
* value of the spu_status register after the SPU has stopped. * value of the spu_status register after the SPU has stopped.
* *
*/ */
long do_spu_run(struct file *filp, __u32 __user *unpc, __u32 __user *ustatus) static long do_spu_run(struct file *filp,
__u32 __user *unpc,
__u32 __user *ustatus)
{ {
long ret; long ret;
struct spufs_inode_info *i; struct spufs_inode_info *i;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment