]> git.openfabrics.org - ~emulex/infiniband.git/commitdiff
xtensa: nommu: move init_mmu stub to nommu_context.h
authorMax Filippov <jcmvbkbc@gmail.com>
Mon, 22 Sep 2014 01:31:48 +0000 (05:31 +0400)
committerMax Filippov <jcmvbkbc@gmail.com>
Tue, 21 Oct 2014 09:28:44 +0000 (13:28 +0400)
mmu_context.h is not used in nommu configuration, nommu_context.h is
used instead.

Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
arch/xtensa/include/asm/mmu_context.h
arch/xtensa/include/asm/nommu_context.h

index d33c71a8c9ec69285fc508e653a0acfee3a691fa..04c8ebdc45178cd167b3213f11e14475971ca2b6 100644 (file)
@@ -50,11 +50,7 @@ DECLARE_PER_CPU(unsigned long, asid_cache);
 #define ASID_MASK      ((1 << XCHAL_MMU_ASID_BITS) - 1)
 #define ASID_INSERT(x) (0x03020001 | (((x) & ASID_MASK) << 8))
 
-#ifdef CONFIG_MMU
 void init_mmu(void);
-#else
-static inline void init_mmu(void) { }
-#endif
 
 static inline void set_rasid_register (unsigned long val)
 {
index 3407cf7989b7b5717eddbc30cb76cb14cfa639fa..22984fd1d8464addb8e041e552f281ff76f3daf1 100644 (file)
@@ -1,3 +1,7 @@
+static inline void init_mmu(void)
+{
+}
+
 static inline void enter_lazy_tlb(struct mm_struct *mm, struct task_struct *tsk)
 {
 }