]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
ARM: nommu: Implement dummy early_paging_init()
authorThierry Reding <treding@nvidia.com>
Mon, 21 Oct 2013 15:26:20 +0000 (17:26 +0200)
committerThierry Reding <treding@nvidia.com>
Thu, 24 Oct 2013 13:03:01 +0000 (15:03 +0200)
No-MMU configurations currenty fail to build because they are missing
the early_paging_init() symbol.

Signed-off-by: Thierry Reding <treding@nvidia.com>
arch/arm/mm/nommu.c

index 34d4ab217babb39b563e493cb4d4643963d33a64..5c668b7a31f97e6df35dcec53b79d5a70a9d1d0b 100644 (file)
@@ -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.