[PATCH] powerpc: cell namespace cleanup
authorArnd Bergmann <arnd@arndb.de>
Wed, 11 Jan 2006 23:07:11 +0000 (23:07 +0000)
committerPaul Mackerras <paulus@samba.org>
Thu, 12 Jan 2006 09:39:14 +0000 (20:39 +1100)
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>
arch/powerpc/platforms/cell/pervasive.c
arch/powerpc/platforms/cell/setup.c
arch/powerpc/platforms/cell/spufs/syscalls.c

index 8515254..e0e051c 100644 (file)
@@ -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) {
        case SRR1_WAKEEE:
index 18e25e6..b33a444 100644 (file)
@@ -57,7 +57,7 @@
 #define DBG(fmt...)
 #endif
 
-void cell_show_cpuinfo(struct seq_file *m)
+static void cell_show_cpuinfo(struct seq_file *m)
 {
        struct device_node *root;
        const char *model = "";
index d549aa7..e6565a9 100644 (file)
@@ -29,7 +29,9 @@
  * 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;
        struct spufs_inode_info *i;