aboutsummaryrefslogtreecommitdiffstats
path: root/arch/xtensa/kernel
diff options
context:
space:
mode:
authorMax Filippov <jcmvbkbc@gmail.com>2013-10-16 18:42:21 -0400
committerChris Zankel <chris@zankel.net>2014-01-14 13:19:56 -0500
commitc8f3a7dc0102fc9f89cc373c6dd7beb49916a695 (patch)
tree686b9879c602063a10eb9b9b51e1532f40792a32 /arch/xtensa/kernel
parent59970753536d98d33efcbe4f119ad8e3e399a46b (diff)
xtensa: move init_mmu declaration to mmu_context.h
Secondary CPUs need this declaration to initialize their MMUs. Signed-off-by: Max Filippov <jcmvbkbc@gmail.com> Signed-off-by: Chris Zankel <chris@zankel.net>
Diffstat (limited to 'arch/xtensa/kernel')
-rw-r--r--arch/xtensa/kernel/setup.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/arch/xtensa/kernel/setup.c b/arch/xtensa/kernel/setup.c
index 9bc6f0644892..3d353140c2d0 100644
--- a/arch/xtensa/kernel/setup.c
+++ b/arch/xtensa/kernel/setup.c
@@ -37,6 +37,7 @@
37#endif 37#endif
38 38
39#include <asm/bootparam.h> 39#include <asm/bootparam.h>
40#include <asm/mmu_context.h>
40#include <asm/pgtable.h> 41#include <asm/pgtable.h>
41#include <asm/processor.h> 42#include <asm/processor.h>
42#include <asm/timex.h> 43#include <asm/timex.h>
@@ -85,12 +86,6 @@ static char default_command_line[COMMAND_LINE_SIZE] __initdata = CONFIG_CMDLINE;
85 86
86sysmem_info_t __initdata sysmem; 87sysmem_info_t __initdata sysmem;
87 88
88#ifdef CONFIG_MMU
89extern void init_mmu(void);
90#else
91static inline void init_mmu(void) { }
92#endif
93
94extern int mem_reserve(unsigned long, unsigned long, int); 89extern int mem_reserve(unsigned long, unsigned long, int);
95extern void bootmem_init(void); 90extern void bootmem_init(void);
96extern void zones_init(void); 91extern void zones_init(void);