patch-2.3.99-pre3 linux/include/linux/smp_lock.h

Next file: linux/include/linux/sonet.h
Previous file: linux/include/linux/serialP.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.99-pre2/linux/include/linux/smp_lock.h linux/include/linux/smp_lock.h
@@ -7,6 +7,7 @@
 #define unlock_kernel()				do { } while(0)
 #define release_kernel_lock(task, cpu)		do { } while(0)
 #define reacquire_kernel_lock(task)		do { } while(0)
+#define kernel_locked() 1
 
 #else
 

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)