diff options
author | Suzuki K. Poulose <suzuki.poulose@arm.com> | 2015-10-19 14:19:27 +0100 |
---|---|---|
committer | Catalin Marinas <catalin.marinas@arm.com> | 2015-10-19 17:52:14 +0100 |
commit | 87d1587bef394cd8a77dbca8cc92885fe7041b8f (patch) | |
tree | b43aadb15cd921f1114d4b0e0eed7cef2c2b673b /arch/arm64/kernel/vmlinux.lds.S | |
parent | fbc61a26e6b7a2ebc399559ea22df4a35ac05fcb (diff) | |
download | linux-stable-87d1587bef394cd8a77dbca8cc92885fe7041b8f.tar.gz linux-stable-87d1587bef394cd8a77dbca8cc92885fe7041b8f.tar.bz2 linux-stable-87d1587bef394cd8a77dbca8cc92885fe7041b8f.zip |
arm64: Move swapper pagetable definitions
Move the kernel pagetable (both swapper and idmap) definitions
from the generic asm/page.h to a new file, asm/kernel-pgtable.h.
This is mostly a cosmetic change, to clean up the asm/page.h to
get rid of the arch specific details which are not needed by the
generic code.
Also renames the symbols to prevent conflicts. e.g,
BLOCK_SHIFT => SWAPPER_BLOCK_SHIFT
Cc: Will Deacon <will.deacon@arm.com>
Signed-off-by: Suzuki K. Poulose <suzuki.poulose@arm.com>
Reviewed-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Tested-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Acked-by: Mark Rutland <mark.rutland@arm.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Diffstat (limited to 'arch/arm64/kernel/vmlinux.lds.S')
-rw-r--r-- | arch/arm64/kernel/vmlinux.lds.S | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm64/kernel/vmlinux.lds.S b/arch/arm64/kernel/vmlinux.lds.S index 98073332e2d0..8a5d97b461c0 100644 --- a/arch/arm64/kernel/vmlinux.lds.S +++ b/arch/arm64/kernel/vmlinux.lds.S @@ -5,6 +5,7 @@ */ #include <asm-generic/vmlinux.lds.h> +#include <asm/kernel-pgtable.h> #include <asm/thread_info.h> #include <asm/memory.h> #include <asm/page.h> |