summaryrefslogtreecommitdiffstats
path: root/arch/hexagon/mm/init.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/hexagon/mm/init.c')
-rw-r--r--arch/hexagon/mm/init.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/hexagon/mm/init.c b/arch/hexagon/mm/init.c
index 146115c9de..3458f39ca2 100644
--- a/arch/hexagon/mm/init.c
+++ b/arch/hexagon/mm/init.c
@@ -12,6 +12,7 @@
#include <linux/highmem.h>
#include <asm/tlb.h>
#include <asm/sections.h>
+#include <asm/setup.h>
#include <asm/vm_mmu.h>
/*
@@ -86,7 +87,7 @@ void sync_icache_dcache(pte_t pte)
* In this mode, we only have one pg_data_t
* structure: contig_mem_data.
*/
-void __init paging_init(void)
+static void __init paging_init(void)
{
unsigned long max_zone_pfn[MAX_NR_ZONES] = {0, };