patch-2.1.69 linux/arch/i386/kernel/traps.c

Next file: linux/arch/i386/math-emu/errors.c
Previous file: linux/arch/i386/kernel/trampoline.S
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.68/linux/arch/i386/kernel/traps.c linux/arch/i386/kernel/traps.c
@@ -127,7 +127,7 @@
 	extern char _stext, _etext;
 
 	esp = (unsigned long) &regs->esp;
-	ss = KERNEL_DS;
+	ss = __KERNEL_DS;
 	if (regs->xcs & 3) {
 		esp = regs->esp;
 		ss = regs->xss & 0xffff;
@@ -184,7 +184,7 @@
 
 spinlock_t die_lock;
 
-/*static*/ void die_if_kernel(const char * str, struct pt_regs * regs, long err)
+void die_if_kernel(const char * str, struct pt_regs * regs, long err)
 {
 	if ((regs->eflags & VM_MASK) || (3 & regs->xcs) == 3)
 		return;

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov