aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2008-08-31 01:40:12 -0700
committerDavid S. Miller <davem@davemloft.net>2008-08-31 01:40:12 -0700
commit10d29ff9070caf5810d37ab06e30f7acad278f1e (patch)
treed958e32d597cae496a541a5e582460b886ff32a4
parentd7472c389ee1044d04af8a5b7c51aa7af96ed2db (diff)
sparc64: Delete starfire_cpu_setup().
It does nothing. Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r--arch/sparc/include/asm/starfire.h1
-rw-r--r--arch/sparc64/kernel/central.c5
-rw-r--r--arch/sparc64/kernel/starfire.c5
3 files changed, 1 insertions, 10 deletions
diff --git a/arch/sparc/include/asm/starfire.h b/arch/sparc/include/asm/starfire.h
index 07bafd31e33..d56ce60a599 100644
--- a/arch/sparc/include/asm/starfire.h
+++ b/arch/sparc/include/asm/starfire.h
@@ -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);
diff --git a/arch/sparc64/kernel/central.c b/arch/sparc64/kernel/central.c
index f2e87d0d7e1..68c91b232be 100644
--- a/arch/sparc64/kernel/central.c
+++ b/arch/sparc64/kernel/central.c
@@ -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 *)
diff --git a/arch/sparc64/kernel/starfire.c b/arch/sparc64/kernel/starfire.c
index 7461581b3bb..060d0f3a615 100644
--- a/arch/sparc64/kernel/starfire.c
+++ b/arch/sparc64/kernel/starfire.c
@@ -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);