aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm64/kernel/setup.c
diff options
context:
space:
mode:
authorLaura Abbott <lauraa@codeaurora.org>2014-11-21 16:50:42 -0500
committerWill Deacon <will.deacon@arm.com>2014-11-25 10:56:45 -0500
commitaf86e5974d3069bd26ebcf7c046c6e59726acaaa (patch)
treed54b723cca997e7e291ed7b7a94fde0834ea81bf /arch/arm64/kernel/setup.c
parentc3684fbb446501b48dec6677a6a9f61c215053de (diff)
arm64: Factor out fixmap initialization from ioremap
The fixmap API was originally added for arm64 for early_ioremap purposes. It can be used for other purposes too so move the initialization from ioremap to somewhere more generic. This makes it obvious where the fixmap is being set up and allows for a cleaner implementation of __set_fixmap. Reviewed-by: Kees Cook <keescook@chromium.org> Acked-by: Mark Rutland <mark.rutland@arm.com> Tested-by: Mark Rutland <mark.rutland@arm.com> Tested-by: Kees Cook <keescook@chromium.org> Signed-off-by: Laura Abbott <lauraa@codeaurora.org> Signed-off-by: Will Deacon <will.deacon@arm.com>
Diffstat (limited to 'arch/arm64/kernel/setup.c')
-rw-r--r--arch/arm64/kernel/setup.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm64/kernel/setup.c b/arch/arm64/kernel/setup.c
index c8629eb07ba6..1de0e8a895ee 100644
--- a/arch/arm64/kernel/setup.c
+++ b/arch/arm64/kernel/setup.c
@@ -384,6 +384,7 @@ void __init setup_arch(char **cmdline_p)
384 384
385 *cmdline_p = boot_command_line; 385 *cmdline_p = boot_command_line;
386 386
387 early_fixmap_init();
387 early_ioremap_init(); 388 early_ioremap_init();
388 389
389 parse_early_param(); 390 parse_early_param();