patch-2.4.14 linux/include/asm-ppc/smplock.h
Next file: linux/include/asm-ppc/spd8xx.h
Previous file: linux/include/asm-ppc/serial.h
Back to the patch index
Back to the overall index
- Lines: 23
- Date:
Fri Nov 2 17:43:54 2001
- Orig file:
v2.4.13/linux/include/asm-ppc/smplock.h
- Orig date:
Mon May 21 15:02:06 2001
diff -u --recursive --new-file v2.4.13/linux/include/asm-ppc/smplock.h linux/include/asm-ppc/smplock.h
@@ -1,5 +1,5 @@
/*
- * BK Id: SCCS/s.smplock.h 1.7 05/17/01 18:14:25 cort
+ * BK Id: SCCS/s.smplock.h 1.10 10/23/01 08:09:35 trini
*/
/*
* <asm/smplock.h>
@@ -7,6 +7,9 @@
* Default SMP lock implementation
*/
#ifdef __KERNEL__
+#ifndef __ASM_SMPLOCK_H__
+#define __ASM_SMPLOCK_H__
+
#include <linux/interrupt.h>
#include <linux/spinlock.h>
@@ -53,4 +56,5 @@
if (--current->lock_depth < 0)
spin_unlock(&kernel_flag);
}
+#endif /* __ASM_SMPLOCK_H__ */
#endif /* __KERNEL__ */
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)