From: Thierry Reding Date: Wed, 6 Nov 2013 08:12:40 +0000 (+0100) Subject: ARM: 7878/1: nommu: Implement dummy early_paging_init() X-Git-Tag: firefly_0821_release~176^2~4990^2~1^2 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=70d42126877b9faa272d446a6de5917614c28dd9;p=firefly-linux-kernel-4.4.55.git ARM: 7878/1: nommu: Implement dummy early_paging_init() No-MMU configurations currenty fail to build because they are missing the early_paging_init() symbol. Acked-by: Olof Johansson Signed-off-by: Thierry Reding Signed-off-by: Russell King --- diff --git a/arch/arm/mm/nommu.c b/arch/arm/mm/nommu.c index 34d4ab217bab..5c668b7a31f9 100644 --- a/arch/arm/mm/nommu.c +++ b/arch/arm/mm/nommu.c @@ -295,6 +295,15 @@ void __init sanity_check_meminfo(void) high_memory = __va(end - 1) + 1; } +/* + * early_paging_init() recreates boot time page table setup, allowing machines + * to switch over to a high (>4G) address space on LPAE systems + */ +void __init early_paging_init(const struct machine_desc *mdesc, + struct proc_info_list *procinfo) +{ +} + /* * paging_init() sets up the page tables, initialises the zone memory * maps, and sets up the zero page, bad page and bad page tables.