summaryrefslogtreecommitdiffstats
path: root/arch/arm64/include/asm/page.h
diff options
context:
space:
mode:
authorCatalin Marinas2014-07-16 13:07:17 +0200
committerCatalin Marinas2014-07-23 16:27:00 +0200
commit7edd88ad7e59c2b7b49da0e00f251884fb785d4f (patch)
tree8e203aaaf6787e4a03d711121ea2166727057504 /arch/arm64/include/asm/page.h
parentarm64: Remove stray ARCH_HAS_OPP reference (diff)
downloadkernel-qcow2-linux-7edd88ad7e59c2b7b49da0e00f251884fb785d4f.tar.gz
kernel-qcow2-linux-7edd88ad7e59c2b7b49da0e00f251884fb785d4f.tar.xz
kernel-qcow2-linux-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.h8
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__