patch-2.1.23 linux/include/asm-alpha/smp_lock.h
Next file: linux/include/asm-alpha/uaccess.h
Previous file: linux/include/asm-alpha/processor.h
Back to the patch index
Back to the overall index
- Lines: 16
- Date:
Sun Jan 26 13:40:46 1997
- Orig file:
v2.1.22/linux/include/asm-alpha/smp_lock.h
- Orig date:
Thu Jan 1 02:00:00 1970
diff -u --recursive --new-file v2.1.22/linux/include/asm-alpha/smp_lock.h linux/include/asm-alpha/smp_lock.h
@@ -0,0 +1,15 @@
+#ifndef __ALPHA_SMPLOCK_H
+#define __ALPHA_SMPLOCK_H
+
+#ifndef __SMP__
+
+#define lock_kernel() do { } while(0)
+#define unlock_kernel() do { } while(0)
+
+#else
+
+#error "We do not support SMP on alpha yet"
+
+#endif /* __SMP__ */
+
+#endif /* __ALPHA_SMPLOCK_H */
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov