patch-2.1.125 linux/arch/m68k/kernel/traps.c

Next file: linux/arch/m68k/mac/adb-bus.c
Previous file: linux/arch/m68k/kernel/process.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.124/linux/arch/m68k/kernel/traps.c linux/arch/m68k/kernel/traps.c
@@ -452,7 +452,7 @@
 #endif
 
 	    errorcode = (mmusr & MMU_I) ? 0 : 1;
-	    if (!(ssw & RW) || ssw & RM)
+	    if (!(ssw & RW) || (ssw & RM))
 		    errorcode |= 2;
 
 	    if (mmusr & (MMU_I | MMU_WP)) {

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