diff options
author | Kumar Gala <galak@kernel.crashing.org> | 2009-09-01 11:43:54 -0400 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2009-09-02 02:20:40 -0400 |
commit | 1d5d9527d8ed8d87beb22a4fd954366aeabd12c7 (patch) | |
tree | bd8759c8e6ccb0141541a4a5cca3f965f0b05cee /arch/powerpc/include/asm | |
parent | 46db2f86a3b2a94e0b33e0b4548fb7b7b6bdff66 (diff) |
powerpc/book3e: Add missing page sizes
Add defines for the other page sizes. Even if HW doesn't support them
we made them use them for hugetlbfs support.
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/include/asm')
-rw-r--r-- | arch/powerpc/include/asm/pte-book3e.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/arch/powerpc/include/asm/pte-book3e.h b/arch/powerpc/include/asm/pte-book3e.h index 9800565aebb8..b82b9dc91a7d 100644 --- a/arch/powerpc/include/asm/pte-book3e.h +++ b/arch/powerpc/include/asm/pte-book3e.h | |||
@@ -20,9 +20,19 @@ | |||
20 | #define _PAGE_BAP_UX 0x000080 | 20 | #define _PAGE_BAP_UX 0x000080 |
21 | #define _PAGE_PSIZE_MSK 0x000f00 | 21 | #define _PAGE_PSIZE_MSK 0x000f00 |
22 | #define _PAGE_PSIZE_4K 0x000200 | 22 | #define _PAGE_PSIZE_4K 0x000200 |
23 | #define _PAGE_PSIZE_8K 0x000300 | ||
24 | #define _PAGE_PSIZE_16K 0x000400 | ||
25 | #define _PAGE_PSIZE_32K 0x000500 | ||
23 | #define _PAGE_PSIZE_64K 0x000600 | 26 | #define _PAGE_PSIZE_64K 0x000600 |
27 | #define _PAGE_PSIZE_128K 0x000700 | ||
28 | #define _PAGE_PSIZE_256K 0x000800 | ||
29 | #define _PAGE_PSIZE_512K 0x000900 | ||
24 | #define _PAGE_PSIZE_1M 0x000a00 | 30 | #define _PAGE_PSIZE_1M 0x000a00 |
31 | #define _PAGE_PSIZE_2M 0x000b00 | ||
32 | #define _PAGE_PSIZE_4M 0x000c00 | ||
33 | #define _PAGE_PSIZE_8M 0x000d00 | ||
25 | #define _PAGE_PSIZE_16M 0x000e00 | 34 | #define _PAGE_PSIZE_16M 0x000e00 |
35 | #define _PAGE_PSIZE_32M 0x000f00 | ||
26 | #define _PAGE_DIRTY 0x001000 /* C: page changed */ | 36 | #define _PAGE_DIRTY 0x001000 /* C: page changed */ |
27 | #define _PAGE_SW0 0x002000 | 37 | #define _PAGE_SW0 0x002000 |
28 | #define _PAGE_U3 0x004000 | 38 | #define _PAGE_U3 0x004000 |