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

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)