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

Next file: linux/init/main.c
Previous file: linux/include/linux/random.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.53/linux/include/linux/smp.h linux/include/linux/smp.h
@@ -8,7 +8,7 @@
 
 #ifdef __SMP__
 #include <asm/smp.h>
-
+#include <asm/smp_lock.h>
  
 extern void smp_message_pass(int target, int msg, unsigned long data, int wait);
 extern void smp_boot_cpus(void);		/* Boot processor call to load the other CPU's */
@@ -39,5 +39,6 @@
 #define smp_processor_id()		0
 #define smp_message_pass(t,m,d,w)	
 #define smp_threads_ready		1
+#define kernel_lock()
 #endif
 #endif

FUNET's LINUX-ADM group, [email protected]
TCL-scripts by Sam Shen, [email protected] with Sam's (original) version
of this