diff options
Diffstat (limited to 'arch/powerpc/include/asm/pte-book3e.h')
-rw-r--r-- | arch/powerpc/include/asm/pte-book3e.h | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/arch/powerpc/include/asm/pte-book3e.h b/arch/powerpc/include/asm/pte-book3e.h index 1d27c77d7704..9800565aebb8 100644 --- a/arch/powerpc/include/asm/pte-book3e.h +++ b/arch/powerpc/include/asm/pte-book3e.h | |||
@@ -37,12 +37,13 @@ | |||
37 | #define _PAGE_WRITETHRU 0x800000 /* W: cache write-through */ | 37 | #define _PAGE_WRITETHRU 0x800000 /* W: cache write-through */ |
38 | 38 | ||
39 | /* "Higher level" linux bit combinations */ | 39 | /* "Higher level" linux bit combinations */ |
40 | #define _PAGE_EXEC _PAGE_BAP_SX /* Can be executed from potentially */ | 40 | #define _PAGE_EXEC _PAGE_BAP_UX /* .. and was cache cleaned */ |
41 | #define _PAGE_HWEXEC _PAGE_BAP_UX /* .. and was cache cleaned */ | 41 | #define _PAGE_RW (_PAGE_BAP_SW | _PAGE_BAP_UW) /* User write permission */ |
42 | #define _PAGE_RW (_PAGE_BAP_SW | _PAGE_BAP_UW) /* User write permission */ | 42 | #define _PAGE_KERNEL_RW (_PAGE_BAP_SW | _PAGE_BAP_SR | _PAGE_DIRTY) |
43 | #define _PAGE_KERNEL_RW (_PAGE_BAP_SW | _PAGE_BAP_SR | _PAGE_DIRTY) | 43 | #define _PAGE_KERNEL_RO (_PAGE_BAP_SR) |
44 | #define _PAGE_KERNEL_RO (_PAGE_BAP_SR) | 44 | #define _PAGE_KERNEL_RWX (_PAGE_BAP_SW | _PAGE_BAP_SR | _PAGE_DIRTY | _PAGE_BAP_SX) |
45 | #define _PAGE_USER (_PAGE_BAP_UR | _PAGE_BAP_SR) /* Can be read */ | 45 | #define _PAGE_KERNEL_ROX (_PAGE_BAP_SR | _PAGE_BAP_SX) |
46 | #define _PAGE_USER (_PAGE_BAP_UR | _PAGE_BAP_SR) /* Can be read */ | ||
46 | 47 | ||
47 | #define _PAGE_HASHPTE 0 | 48 | #define _PAGE_HASHPTE 0 |
48 | #define _PAGE_BUSY 0 | 49 | #define _PAGE_BUSY 0 |