patch-1.3.51 linux/include/asm-i386/smp.h

Next file: linux/include/asm-mips/asm.h
Previous file: linux/include/asm-i386/byteorder.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.50/linux/include/asm-i386/smp.h linux/include/asm-i386/smp.h
@@ -5,6 +5,7 @@
 #ifndef ASSEMBLY
 
 #include <asm/i82489.h>
+#include <asm/bitops.h>
 #include <linux/tasks.h>
 #include <linux/ptrace.h>
 
@@ -178,6 +179,8 @@
 extern unsigned char *kernel_stacks[NR_CPUS];
 extern unsigned char boot_cpu_id;
 extern unsigned long cpu_present_map;
+extern volatile unsigned long smp_invalidate_needed;
+extern volatile unsigned long smp_spins;
 extern void smp_invalidate(void);
 extern volatile unsigned long kernel_flag, kernel_counter;
 extern volatile unsigned char active_kernel_processor;
@@ -240,6 +243,7 @@
  */
  
 #define PROC_CHANGE_PENALTY	20		/* Schedule penalty */
+
 
 #endif
 #endif

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