summaryrefslogtreecommitdiffstats
path: root/include/asm-i386/semaphore.h
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2000-06-19 22:45:37 +0000
committerRalf Baechle <ralf@linux-mips.org>2000-06-19 22:45:37 +0000
commit6d403070f28cd44860fdb3a53be5da0275c65cf4 (patch)
tree0d0e7fe7b5fb7568d19e11d7d862b77a866ce081 /include/asm-i386/semaphore.h
parentecf1bf5f6c2e668d03b0a9fb026db7aa41e292e1 (diff)
Merge with 2.4.0-test1-ac21 + pile of MIPS cleanups to make merging
possible. Chainsawed RM200 kernel to compile again. Jazz machine status unknown.
Diffstat (limited to 'include/asm-i386/semaphore.h')
-rw-r--r--include/asm-i386/semaphore.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/asm-i386/semaphore.h b/include/asm-i386/semaphore.h
index 827c53192..9088efe2c 100644
--- a/include/asm-i386/semaphore.h
+++ b/include/asm-i386/semaphore.h
@@ -3,6 +3,8 @@
#include <linux/linkage.h>
+#ifdef __KERNEL__
+
/*
* SMP- and interrupt-safe semaphores..
*
@@ -373,3 +375,4 @@ extern inline void up_write(struct rw_semaphore *sem)
}
#endif
+#endif