patch-2.1.114 linux/arch/i386/kernel/traps.c
Next file: linux/arch/i386/mm/fault.c
Previous file: linux/arch/i386/kernel/process.c
Back to the patch index
Back to the overall index
- Lines: 19
- Date:
Mon Aug 3 11:27:32 1998
- Orig file:
v2.1.113/linux/arch/i386/kernel/traps.c
- Orig date:
Mon Aug 3 12:45:43 1998
diff -u --recursive --new-file v2.1.113/linux/arch/i386/kernel/traps.c linux/arch/i386/kernel/traps.c
@@ -108,7 +108,7 @@
unsigned long *stack, addr, module_start, module_end;
extern char _stext, _etext;
- esp = (unsigned long) ®s->esp;
+ esp = (unsigned long) (1+regs);
ss = __KERNEL_DS;
if (regs->xcs & 3) {
in_kernel = 0;
@@ -169,8 +169,8 @@
printk("\nCode: ");
for(i=0;i<20;i++)
printk("%02x ", ((unsigned char *)regs->eip)[i]);
- printk("\n");
}
+ printk("\n");
}
spinlock_t die_lock;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov