patch-2.4.22 linux-2.4.22/arch/parisc/kernel/traps.c

Next file: linux-2.4.22/arch/parisc/kernel/unaligned.c
Previous file: linux-2.4.22/arch/parisc/kernel/smp.c
Back to the patch index
Back to the overall index

diff -urN linux-2.4.21/arch/parisc/kernel/traps.c linux-2.4.22/arch/parisc/kernel/traps.c
@@ -455,13 +455,6 @@
 	unsigned long fault_space = 0;
 	struct siginfo si;
 
-	/* HACK! jsm is going to fix this.
-	 * entry.S will manage I-bit - only enable I-bit if it was
-	 * enabled before we took the "trap".
-	 */
-	if (code != 1)
-		local_irq_enable();
-
 	switch(code) {
 
 	case  1:
@@ -727,6 +720,7 @@
 	    }
 	}
 
+	local_irq_enable();
 	do_page_fault(regs, code, fault_address);
 }
 

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)