ARC: mm: move MMU specific bits out of entry code ...
[linux-2.6-microblaze.git] / arch / arc / include / asm / mmu.h
index c8b4901..e66e1e4 100644 (file)
@@ -84,6 +84,14 @@ static inline int is_pae40_enabled(void)
 
 extern int pae40_exist_but_not_enab(void);
 
+#else
+
+.macro ARC_MMU_REENABLE reg
+       lr \reg, [ARC_REG_PID]
+       or \reg, \reg, MMU_ENABLE
+       sr \reg, [ARC_REG_PID]
+.endm
+
 #endif /* !__ASSEMBLY__ */
 
 #endif