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

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)