Skip to contentSkip to conversation

FRV: Add some missng lazy MMU hooks for NOMMU mode

PATCH New David Howells 1 participant 1 message Feb 20, 2007

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 FRV: Add some missng lazy MMU hooks for NOMMU mode

From: David Howells <[email protected]>

Add some missing lazy MMU hooks for NOMMU mode.

---

 include/asm-frv/pgtable.h |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)
include/asm-frv/pgtable.h +5 -1
index ba1b37d..8a05aa1 100644
@@ -70,7 +70,11 @@ static inline int pte_file(pte_t pte) { return 0; }
 
 #define swapper_pg_dir		((pgd_t *) NULL)
 
-#define pgtable_cache_init()	do {} while(0)
+#define pgtable_cache_init()		do {} while (0)
+#define arch_enter_lazy_mmu_mode()	do {} while (0)
+#define arch_leave_lazy_mmu_mode()	do {} while (0)
+#define arch_enter_lazy_cpu_mode()	do {} while (0)
+#define arch_leave_lazy_cpu_mode()	do {} while (0)
 
 #else /* !CONFIG_MMU */
 /*****************************************************************************/