patch-2.0.31 linux/arch/i386/mm/fault.c
Next file: linux/arch/i386/mm/init.c
Previous file: linux/arch/i386/lib/delay.S
Back to the patch index
Back to the overall index
- Lines: 13
- Date:
Sat Aug 16 22:21:20 1997
- Orig file:
v2.0.30/linux/arch/i386/mm/fault.c
- Orig date:
Wed Sep 11 07:57:13 1996
diff -u --recursive --new-file v2.0.30/linux/arch/i386/mm/fault.c linux/arch/i386/mm/fault.c
@@ -130,10 +130,9 @@
printk("This processor honours the WP bit even when in supervisor mode. Good.\n");
return;
}
- if ((unsigned long) (address-TASK_SIZE) < PAGE_SIZE) {
+ if ((unsigned long) (address-TASK_SIZE) < PAGE_SIZE)
printk(KERN_ALERT "Unable to handle kernel NULL pointer dereference");
- pg0[0] = pte_val(mk_pte(0, PAGE_SHARED));
- } else
+ else
printk(KERN_ALERT "Unable to handle kernel paging request");
printk(" at virtual address %08lx\n",address);
__asm__("movl %%cr3,%0" : "=r" (page));
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov