patch-2.4.23 linux-2.4.23/arch/ppc/kernel/head_4xx.S
Next file: linux-2.4.23/arch/ppc/kernel/head_8xx.S
Previous file: linux-2.4.23/arch/ppc/kernel/head_44x.S
Back to the patch index
Back to the overall index
- Lines: 16
- Date:
2003-11-28 10:26:19.000000000 -0800
- Orig file:
linux-2.4.22/arch/ppc/kernel/head_4xx.S
- Orig date:
2003-08-25 04:44:40.000000000 -0700
diff -urN linux-2.4.22/arch/ppc/kernel/head_4xx.S linux-2.4.23/arch/ppc/kernel/head_4xx.S
@@ -304,6 +304,7 @@
*/
li r22, 0x0ce2
andc r21, r21, r22 /* Make sure 20, 21 are zero */
+ ori r21, r21, _PAGE_HWEXEC /* make it executable */
/* find the TLB index that caused the fault. It has to be here.
*/
@@ -782,6 +783,7 @@
stw r23, tlb_4xx_index@l(0)
6:
+ ori r21, r21, _PAGE_HWEXEC /* make it executable */
tlbwe r21, r23, TLB_DATA /* Load TLB LO */
/* Create EPN. This is the faulting address plus a static
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)