Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

sparc64: Delete starfire_cpu_setup().

It does nothing.

Signed-off-by: David S. Miller <davem@davemloft.net>

+1 -10
-1
arch/sparc/include/asm/starfire.h
··· 12 12 extern int this_is_starfire; 13 13 14 14 extern void check_if_starfire(void); 15 - extern void starfire_cpu_setup(void); 16 15 extern int starfire_hard_smp_processor_id(void); 17 16 extern void starfire_hookup(int); 18 17 extern unsigned int starfire_translate(unsigned long imap, unsigned int upaid);
+1 -4
arch/sparc64/kernel/central.c
··· 306 306 int err; 307 307 308 308 dp = of_find_node_by_name(NULL, "central"); 309 - if (!dp) { 310 - if (this_is_starfire) 311 - starfire_cpu_setup(); 309 + if (!dp) 312 310 return; 313 - } 314 311 315 312 /* Ok we got one, grab some memory for software state. */ 316 313 central_bus = (struct linux_central *)
-5
arch/sparc64/kernel/starfire.c
··· 28 28 this_is_starfire = 1; 29 29 } 30 30 31 - void starfire_cpu_setup(void) 32 - { 33 - /* Currently, nothing to do. */ 34 - } 35 - 36 31 int starfire_hard_smp_processor_id(void) 37 32 { 38 33 return upa_readl(0x1fff40000d0UL);