patch-2.4.22 linux-2.4.22/include/asm-mips/smplock.h
Next file: linux-2.4.22/include/asm-mips/sni.h
Previous file: linux-2.4.22/include/asm-mips/smp.h
Back to the patch index
Back to the overall index
- Lines: 16
- Date:
2003-08-25 04:44:44.000000000 -0700
- Orig file:
linux-2.4.21/include/asm-mips/smplock.h
- Orig date:
2002-08-02 17:39:45.000000000 -0700
diff -urN linux-2.4.21/include/asm-mips/smplock.h linux-2.4.22/include/asm-mips/smplock.h
@@ -5,6 +5,9 @@
*
* Default SMP lock implementation
*/
+#ifndef __ASM_SMPLOCK_H
+#define __ASM_SMPLOCK_H
+
#include <linux/interrupt.h>
#include <linux/spinlock.h>
@@ -51,3 +54,5 @@
if (--current->lock_depth < 0)
spin_unlock(&kernel_flag);
}
+
+#endif /* __ASM_SMPLOCK_H */
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)