diff options
author | Catalin Marinas <catalin.marinas@arm.com> | 2014-07-16 12:07:17 +0100 |
---|---|---|
committer | Catalin Marinas <catalin.marinas@arm.com> | 2014-07-23 15:27:00 +0100 |
commit | 7edd88ad7e59c2b7b49da0e00f251884fb785d4f (patch) | |
tree | 8e203aaaf6787e4a03d711121ea2166727057504 /arch/arm64/include/asm/page.h | |
parent | affeafbb84776b8527591aa83c16be67dfa5c985 (diff) | |
download | linux-stable-7edd88ad7e59c2b7b49da0e00f251884fb785d4f.tar.gz linux-stable-7edd88ad7e59c2b7b49da0e00f251884fb785d4f.tar.bz2 linux-stable-7edd88ad7e59c2b7b49da0e00f251884fb785d4f.zip |
arm64: Do not initialise the fixmap page tables in head.S
The early_ioremap_init() function already handles fixmap pte
initialisation, so upgrade this to cover all of pud/pmd/pte and remove
one page from swapper_pg_dir.
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Tested-by: Jungseok Lee <jungseoklee85@gmail.com>
Diffstat (limited to 'arch/arm64/include/asm/page.h')
-rw-r--r-- | arch/arm64/include/asm/page.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/arm64/include/asm/page.h b/arch/arm64/include/asm/page.h index a6331e6a92b5..e84ca637af6b 100644 --- a/arch/arm64/include/asm/page.h +++ b/arch/arm64/include/asm/page.h @@ -33,11 +33,11 @@ /* * 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. + * image. Both require a pgd and a next level table to (section) map the + * kernel. The the swapper also maps the FDT (see __create_page_tables for + * more information). */ -#define SWAPPER_DIR_SIZE (3 * PAGE_SIZE) +#define SWAPPER_DIR_SIZE (2 * PAGE_SIZE) #define IDMAP_DIR_SIZE (2 * PAGE_SIZE) #ifndef __ASSEMBLY__ |