summaryrefslogtreecommitdiff
path: root/arch/xtensa/include/asm/nommu_context.h
diff options
context:
space:
mode:
authorMax Filippov <jcmvbkbc@gmail.com>2017-12-15 20:45:35 -0800
committerMax Filippov <jcmvbkbc@gmail.com>2017-12-16 22:37:10 -0800
commitc2edb35ae342fedb5a39312c0fa676b74973887a (patch)
treea5684736d06f5073522c9126cc3f836b7593dad8 /arch/xtensa/include/asm/nommu_context.h
parent501c26e82df8d253851b80082778eeb37e4bab5c (diff)
xtensa: extract init_kio
KIO region placement may be specified in the device tree, that's why it's initialized with the rest of MMU after the early_init_devtree. In order to support KASAN the MMU must be initialized earlier. Separate KIO initialization from the rest of MMU initialization. Reinitialize KIO if its location is specified in the device tree. Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Diffstat (limited to 'arch/xtensa/include/asm/nommu_context.h')
-rw-r--r--arch/xtensa/include/asm/nommu_context.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/xtensa/include/asm/nommu_context.h b/arch/xtensa/include/asm/nommu_context.h
index 2cebdbbdb633..37251b2ef871 100644
--- a/arch/xtensa/include/asm/nommu_context.h
+++ b/arch/xtensa/include/asm/nommu_context.h
@@ -3,6 +3,10 @@ static inline void init_mmu(void)
{
}
+static inline void init_kio(void)
+{
+}
+
static inline void enter_lazy_tlb(struct mm_struct *mm, struct task_struct *tsk)
{
}