patch-2.1.132 linux/arch/arm/kernel/traps.c

Next file: linux/arch/arm/lib/Makefile
Previous file: linux/arch/arm/kernel/sys_arm.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.131/linux/arch/arm/kernel/traps.c linux/arch/arm/kernel/traps.c
@@ -51,7 +51,7 @@
 	if (stackptr < 0x02048000 || stackptr + size > 0x03000000)
         	return -EFAULT;
 #else
-	if (stackptr < 0xc0000000 || stackptr + size > (unsigned long)high_memory)
+	if (stackptr < PAGE_OFFSET || stackptr + size > (unsigned long)high_memory)
 		return -EFAULT;
 #endif
 		return 0;
@@ -175,7 +175,7 @@
 		printk("(sp underflow)");
 	printk("\n");
 
-	dump_mem(cstack, sstack + 4096);
+	dump_mem(cstack - 16, sstack + 4096);
 
 	frameptr = regs->ARM_fp;
 	if (frameptr) {

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