]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
sparc64: Delete starfire_cpu_setup().
authorDavid S. Miller <davem@davemloft.net>
Sun, 31 Aug 2008 08:40:12 +0000 (01:40 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sun, 31 Aug 2008 08:40:12 +0000 (01:40 -0700)
It does nothing.

Signed-off-by: David S. Miller <davem@davemloft.net>
arch/sparc/include/asm/starfire.h
arch/sparc64/kernel/central.c
arch/sparc64/kernel/starfire.c

index 07bafd31e33cd0f9a7d4dfc997202d84a6dd0c59..d56ce60a5992bc71f74694b05ed0858dfb8e7d36 100644 (file)
@@ -12,7 +12,6 @@
 extern int this_is_starfire;
 
 extern void check_if_starfire(void);
-extern void starfire_cpu_setup(void);
 extern int starfire_hard_smp_processor_id(void);
 extern void starfire_hookup(int);
 extern unsigned int starfire_translate(unsigned long imap, unsigned int upaid);
index f2e87d0d7e1d7ab2c17020443d39b09dc9de193c..68c91b232becdd6e8343204f2f72f4a423884097 100644 (file)
@@ -306,11 +306,8 @@ void __init central_probe(void)
        int err;
 
        dp = of_find_node_by_name(NULL, "central");
-       if (!dp) {
-               if (this_is_starfire)
-                       starfire_cpu_setup();
+       if (!dp)
                return;
-       }
 
        /* Ok we got one, grab some memory for software state. */
        central_bus = (struct linux_central *)
index 7461581b3bb972c29ab0f6e6ce7facbb7d132d89..060d0f3a61511ee2b1891837ea4de94ca398d69c 100644 (file)
@@ -28,11 +28,6 @@ void check_if_starfire(void)
                this_is_starfire = 1;
 }
 
-void starfire_cpu_setup(void)
-{
-       /* Currently, nothing to do.  */
-}
-
 int starfire_hard_smp_processor_id(void)
 {
        return upa_readl(0x1fff40000d0UL);