patch-2.1.48 linux/include/asm-i386/smp_lock.h
Next file: linux/include/asm-m68k/serial.h
Previous file: linux/include/asm-i386/keyboard.h
Back to the patch index
Back to the overall index
- Lines: 18
- Date:
Thu Jul 31 13:09:18 1997
- Orig file:
v2.1.47/linux/include/asm-i386/smp_lock.h
- Orig date:
Tue May 13 22:41:17 1997
diff -u --recursive --new-file v2.1.47/linux/include/asm-i386/smp_lock.h linux/include/asm-i386/smp_lock.h
@@ -39,6 +39,8 @@
} while (0)
+extern const char lk_lockmsg[];
+
/* Locking the kernel */
extern __inline__ void lock_kernel(void)
{
@@ -46,7 +48,7 @@
if (local_irq_count[cpu]) {
__label__ l1;
-l1: printk("lock from interrupt context at %p\n", &&l1);
+l1: printk(lk_lockmsg, &&l1);
}
if (cpu == global_irq_holder) {
__label__ l2;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov