patch-2.4.23 linux-2.4.23/arch/ppc64/kernel/iSeries_setup.c
Next file: linux-2.4.23/arch/ppc64/kernel/setup.c
Previous file: linux-2.4.23/arch/ppc64/kernel/head.S
Back to the patch index
Back to the overall index
-  Lines: 9
-  Date:
2003-11-28 10:26:19.000000000 -0800
-  Orig file: 
linux-2.4.22/arch/ppc64/kernel/iSeries_setup.c
-  Orig date: 
2003-08-25 04:44:40.000000000 -0700
diff -urN linux-2.4.22/arch/ppc64/kernel/iSeries_setup.c linux-2.4.23/arch/ppc64/kernel/iSeries_setup.c
@@ -622,6 +622,8 @@
 		if (hpte.dw0.dw0.v) {
 			/* HPTE exists, so just bolt it */
 			HvCallHpt_setSwBits(slot, 0x10, 0);
+			/* And make sure the pp bits are correct */
+			HvCallHpt_setPp(slot, PP_RWXX);
 		} else {
 			/* No HPTE exists, so create a new bolted one */
 			make_pte(NULL, va, (unsigned long)__v2a(ea), 
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)