patch-2.4.0-test9 linux/include/asm-sparc64/smp.h

Next file: linux/include/asm-sparc64/starfire.h
Previous file: linux/include/asm-sparc64/resource.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.0-test8/linux/include/asm-sparc64/smp.h linux/include/asm-sparc64/smp.h
@@ -9,6 +9,7 @@
 #include <linux/config.h>
 #include <linux/threads.h>
 #include <asm/asi.h>
+#include <asm/starfire.h>
 
 #ifndef __ASSEMBLY__
 /* PROM provided per-processor information we need
@@ -82,11 +83,7 @@
 
 extern __inline__ int hard_smp_processor_id(void)
 {
-	extern int this_is_starfire;
-
 	if(this_is_starfire != 0) {
-		extern int starfire_hard_smp_processor_id(void);
-
 		return starfire_hard_smp_processor_id();
 	} else {
 		unsigned long upaconfig;

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)