patch-2.1.124 linux/include/asm-ppc/smp.h

Next file: linux/include/asm-ppc/softirq.h
Previous file: linux/include/asm-ppc/prom.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.123/linux/include/asm-ppc/smp.h linux/include/asm-ppc/smp.h
@@ -14,6 +14,7 @@
 #ifndef __ASSEMBLY__
 
 extern unsigned long cpu_present_map;
+extern int first_cpu_booted;
 
 /* per processor PPC parameters we need. */
 struct cpuinfo_PPC {
@@ -61,12 +62,7 @@
 #endif /* __ASSEMBLY__ */
 
 #else /* !(__SMP__) */
-#ifndef __ASSEMBLY__
-extern __inline__ int cpu_logical_map(int cpu)
-{
-	return cpu;
-}
-#endif
+
 #endif /* !(__SMP__) */
 
 #define NO_PROC_ID               0xFF            /* No processor magic marker */

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov