patch-1.3.75 linux/include/linux/smp.h

Next file: linux/include/linux/tty.h
Previous file: linux/include/linux/personality.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.74/linux/include/linux/smp.h linux/include/linux/smp.h
@@ -14,6 +14,7 @@
 extern void smp_callin(void);			/* Processor call in. Must hold processors until .. */
 extern void smp_commence(void);			/* Multiprocessors may now schedule */
 extern int smp_num_cpus;
+extern int smp_top_cpu;				/* Top CPU number  */
 extern int smp_threads_ready;			/* True once the per process idle is forked */
 #ifdef __SMP_PROF__
 extern volatile unsigned long smp_spins[NR_CPUS];	/* count of interrupt spins */
@@ -47,6 +48,7 @@
  
 #define smp_num_cpus			1
 #define smp_processor_id()		0
+#define smp_top_cpu			0
 #define smp_message_pass(t,m,d,w)	
 #define smp_threads_ready		1
 #define kernel_lock()

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov with Sam's (original) version
of this