diff options
author | Mark Brown <broonie@linaro.org> | 2014-07-23 13:16:53 +0100 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2014-07-23 13:16:53 +0100 |
commit | 6a87ef22a8b54095478561f9f2664c40c5c76d98 (patch) | |
tree | 66292f45032cad8d8978a8d53b51b398fc91a000 /arch/arm64/include/asm/page.h | |
parent | 6c45113800d819f87b0af7f80d627d0208e10a6c (diff) | |
parent | a4121f52920d3588e475336bf076915899e51509 (diff) |
Merge branch 'linux-linaro-lsk-v3.14' into linux-linaro-lsk-v3.14-androidlsk-v3.14-android-preview-14.07
Diffstat (limited to 'arch/arm64/include/asm/page.h')
-rw-r--r-- | arch/arm64/include/asm/page.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/arch/arm64/include/asm/page.h b/arch/arm64/include/asm/page.h index 46bf66628b6a..a6331e6a92b5 100644 --- a/arch/arm64/include/asm/page.h +++ b/arch/arm64/include/asm/page.h @@ -31,6 +31,15 @@ /* We do define AT_SYSINFO_EHDR but don't use the gate mechanism */ #define __HAVE_ARCH_GATE_AREA 1 +/* + * The idmap and swapper page tables need some space reserved in the kernel + * image. The idmap only requires a pgd and a next level table to (section) map + * the kernel, while the swapper also maps the FDT and requires an additional + * table to map an early UART. See __create_page_tables for more information. + */ +#define SWAPPER_DIR_SIZE (3 * PAGE_SIZE) +#define IDMAP_DIR_SIZE (2 * PAGE_SIZE) + #ifndef __ASSEMBLY__ #ifdef CONFIG_ARM64_64K_PAGES |