patch-2.4.0-test11 linux/include/asm-ppc/spinlock.h
Next file: linux/include/asm-ppc/stat.h
Previous file: linux/include/asm-ppc/softirq.h
Back to the patch index
Back to the overall index
- Lines: 10
- Date:
Sat Nov 11 18:23:11 2000
- Orig file:
v2.4.0-test10/linux/include/asm-ppc/spinlock.h
- Orig date:
Sun Oct 8 10:50:36 2000
diff -u --recursive --new-file v2.4.0-test10/linux/include/asm-ppc/spinlock.h linux/include/asm-ppc/spinlock.h
@@ -1,3 +1,4 @@
+#ifdef __KERNEL__
#ifndef __ASM_SPINLOCK_H
#define __ASM_SPINLOCK_H
@@ -54,3 +55,4 @@
#define read_unlock(rw) _read_unlock(rw)
#endif /* __ASM_SPINLOCK_H */
+#endif /* __KERNEL__ */
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)