]> git.karo-electronics.de Git - linux-beck.git/commitdiff
[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 85152544c1530dec87325a2b500d904b69f1dcd3..e0e051c675dd129d1116cb7a43db71c819a805b7 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 18e25e65c04b23ba2ec87328ba68ba4b97f40eae..b33a4443f5a9368344f6ac3f3507ac6593a86e77 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 d549aa7ebea6175eefc3c38eefadd189e949211c..e6565a949ddc727b11299b4374001ff70a67e326 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;