patch-2.1.31 linux/include/asm-i386/smp_lock.h
Next file: linux/include/asm-i386/termios.h
Previous file: linux/include/asm-i386/io.h
Back to the patch index
Back to the overall index
- Lines: 21
- Date:
Mon Mar 31 12:52:31 1997
- Orig file:
v2.1.30/linux/include/asm-i386/smp_lock.h
- Orig date:
Thu Mar 27 14:40:06 1997
diff -u --recursive --new-file v2.1.30/linux/include/asm-i386/smp_lock.h linux/include/asm-i386/smp_lock.h
@@ -1,6 +1,8 @@
#ifndef __I386_SMPLOCK_H
#define __I386_SMPLOCK_H
+#define __STR(x) #x
+
#ifndef __SMP__
#define lock_kernel() do { } while(0)
@@ -77,9 +79,9 @@
cli
decl %0
jnz 1f
- movb %1, active_kernel_processor
+ movb %1, " __STR(active_kernel_processor) "
lock
- btrl $0, kernel_flag
+ btrl $0, " __STR(kernel_flag) "
1:
popfl
" : /* no outputs */
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov