patch-2.4.0-test2 linux/include/asm-ppc/smp.h
Next file: linux/include/asm-ppc/socket.h
Previous file: linux/include/asm-ppc/rpxclassic.h
Back to the patch index
Back to the overall index
- Lines: 12
- Date:
Mon Jun 19 17:59:37 2000
- Orig file:
v2.4.0-test1/linux/include/asm-ppc/smp.h
- Orig date:
Wed Apr 26 16:34:09 2000
diff -u --recursive --new-file v2.4.0-test1/linux/include/asm-ppc/smp.h linux/include/asm-ppc/smp.h
@@ -37,8 +37,10 @@
#define cpu_number_map(x) (x)
extern volatile unsigned long cpu_callin_map[NR_CPUS];
-#define hard_smp_processor_id() (0)
#define smp_processor_id() (current->processor)
+
+extern int smp_hw_index[NR_CPUS];
+#define hard_smp_processor_id() (smp_hw_index[smp_processor_id()])
struct klock_info_struct {
unsigned long kernel_flag;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)