LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* [PATCH] FRV: Add some missng lazy MMU hooks for NOMMU mode
@ 2007-02-20 19:17 David Howells
  0 siblings, 0 replies; only message in thread
From: David Howells @ 2007-02-20 19:17 UTC (permalink / raw)
  To: torvalds, akpm; +Cc: linux-kernel, dhowells

From: David Howells <dhowells@redhat.com>

Add some missing lazy MMU hooks for NOMMU mode.

Signed-Off-By: David Howells <dhowells@redhat.com>
---

 include/asm-frv/pgtable.h |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/include/asm-frv/pgtable.h b/include/asm-frv/pgtable.h
index ba1b37d..8a05aa1 100644
--- a/include/asm-frv/pgtable.h
+++ b/include/asm-frv/pgtable.h
@@ -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 */
 /*****************************************************************************/

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2007-02-20 19:17 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-02-20 19:17 [PATCH] FRV: Add some missng lazy MMU hooks for NOMMU mode David Howells

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).