patch-2.1.36 linux/arch/m68k/mm/fault.c

Next file: linux/arch/m68k/mm/init.c
Previous file: linux/arch/m68k/mm/extable.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.35/linux/arch/m68k/mm/fault.c linux/arch/m68k/mm/fault.c
@@ -108,10 +108,7 @@
 	up(&mm->mmap_sem);
 
 	/* Are we prepared to handle this fault?  */
-	if (CPU_IS_060 && regs->format == 4)
-		fault_pc = ((struct frame *)regs)->un.fmt4.pc;
-	else
-		fault_pc = regs->pc;
+	fault_pc = regs->pc;
 	if ((fixup = search_exception_table(fault_pc)) != 0) {
 		struct pt_regs *tregs;
 		printk(KERN_DEBUG "Exception at [<%lx>] (%lx)\n", fault_pc, fixup);

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