patch-2.3.41 linux/include/asm-sparc64/smp.h
Next file: linux/include/asm-sparc64/termbits.h
Previous file: linux/include/asm-sparc64/siginfo.h
Back to the patch index
Back to the overall index
- Lines: 18
- Date:
Fri Jan 21 18:22:54 2000
- Orig file:
v2.3.40/linux/include/asm-sparc64/smp.h
- Orig date:
Wed Dec 29 13:13:21 1999
diff -u --recursive --new-file v2.3.40/linux/include/asm-sparc64/smp.h linux/include/asm-sparc64/smp.h
@@ -68,12 +68,16 @@
extern void smp_boot_cpus(void);
extern void smp_store_cpu_info(int id);
-extern __volatile__ int cpu_number_map[NR_CPUS];
+extern __volatile__ int __cpu_number_map[NR_CPUS];
extern __volatile__ int __cpu_logical_map[NR_CPUS];
extern __inline__ int cpu_logical_map(int cpu)
{
return __cpu_logical_map[cpu];
+}
+extern __inline__ int cpu_number_map(int cpu)
+{
+ return __cpu_number_map[cpu];
}
extern __inline__ int hard_smp_processor_id(void)
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)