patch-2.1.36 linux/include/asm-i386/smp_lock.h
Next file: linux/include/asm-i386/softirq.h
Previous file: linux/include/asm-i386/smp.h
Back to the patch index
Back to the overall index
- Lines: 20
- Date:
Thu Apr 17 13:29:54 1997
- Orig file:
v2.1.35/linux/include/asm-i386/smp_lock.h
- Orig date:
Fri Apr 4 08:52:25 1997
diff -u --recursive --new-file v2.1.35/linux/include/asm-i386/smp_lock.h linux/include/asm-i386/smp_lock.h
@@ -8,7 +8,7 @@
#define lock_kernel() do { } while(0)
#define unlock_kernel() do { } while(0)
#define release_kernel_lock(task, cpu, depth) ((depth) = 1)
-#define reaquire_kernel_lock(task, cpu, depth) do { } while(0)
+#define reacquire_kernel_lock(task, cpu, depth) do { } while(0)
#else
@@ -27,8 +27,8 @@
__sti(); \
} while (0)
-/* Re-aquire the kernel lock */
-#define reaquire_kernel_lock(task, cpu, depth) \
+/* Re-acquire the kernel lock */
+#define reacquire_kernel_lock(task, cpu, depth) \
do { if (depth) __asm__ __volatile__( \
"cli\n\t" \
"movl $0f,%%eax\n\t" \
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov