diff options
Diffstat (limited to 'arch/powerpc/include/asm/pte-8xx.h')
-rw-r--r-- | arch/powerpc/include/asm/pte-8xx.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/powerpc/include/asm/pte-8xx.h b/arch/powerpc/include/asm/pte-8xx.h index b07acfd330b0..8c6e31251034 100644 --- a/arch/powerpc/include/asm/pte-8xx.h +++ b/arch/powerpc/include/asm/pte-8xx.h | |||
@@ -59,6 +59,9 @@ | |||
59 | /* Until my rework is finished, 8xx still needs atomic PTE updates */ | 59 | /* Until my rework is finished, 8xx still needs atomic PTE updates */ |
60 | #define PTE_ATOMIC_UPDATES 1 | 60 | #define PTE_ATOMIC_UPDATES 1 |
61 | 61 | ||
62 | /* We need to add _PAGE_SHARED to kernel pages */ | ||
63 | #define _PAGE_KERNEL_RO (_PAGE_SHARED) | ||
64 | #define _PAGE_KERNEL_RW (_PAGE_DIRTY | _PAGE_RW | _PAGE_HWWRITE) | ||
62 | 65 | ||
63 | #endif /* __KERNEL__ */ | 66 | #endif /* __KERNEL__ */ |
64 | #endif /* _ASM_POWERPC_PTE_8xx_H */ | 67 | #endif /* _ASM_POWERPC_PTE_8xx_H */ |