patch-2.4.0-test2 linux/include/asm-i386/semaphore.h

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

diff -u --recursive --new-file v2.4.0-test1/linux/include/asm-i386/semaphore.h linux/include/asm-i386/semaphore.h
@@ -3,6 +3,8 @@
 
 #include <linux/linkage.h>
 
+#ifdef __KERNEL__
+
 /*
  * SMP- and interrupt-safe semaphores..
  *
@@ -372,4 +374,5 @@
 	__up_write(sem);
 }
 
+#endif
 #endif

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