linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/2] FRV: Use <asm-generic/pgtable.h> in NOMMU mode
@ 2009-04-09 23:21 David Howells
  2009-04-09 23:21 ` [PATCH 2/2] FRV: Move to arch/frv/include/asm/ David Howells
  2009-04-09 23:25 ` [PATCH 2/2] " David Howells
  0 siblings, 2 replies; 9+ messages in thread
From: David Howells @ 2009-04-09 23:21 UTC (permalink / raw)
  To: torvalds, akpm; +Cc: dhowells, sam, linux-kernel

asm-frv/pgtable.h could just #include <asm-generic/pgtable.h> in NOMMU mode
rather than #defining macros for lazy MMU and CPU stuff.

Signed-off-by: David Howells <dhowells@redhat.com>
---

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


diff --git a/include/asm-frv/pgtable.h b/include/asm-frv/pgtable.h
index e16fdb1..3323301 100644
--- a/include/asm-frv/pgtable.h
+++ b/include/asm-frv/pgtable.h
@@ -71,10 +71,8 @@ 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 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)
+
+#include <asm-generic/pgtable.h>
 
 #else /* !CONFIG_MMU */
 /*****************************************************************************/


^ permalink raw reply related	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2009-04-10  7:49 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-04-09 23:21 [PATCH 1/2] FRV: Use <asm-generic/pgtable.h> in NOMMU mode David Howells
2009-04-09 23:21 ` [PATCH 2/2] FRV: Move to arch/frv/include/asm/ David Howells
2009-04-09 23:31   ` Linus Torvalds
2009-04-09 23:38   ` David Howells
2009-04-09 23:49     ` Linus Torvalds
2009-04-10  1:06     ` David Howells
2009-04-10  1:13       ` Linus Torvalds
2009-04-10  7:47     ` [GIT PULL] " David Howells
2009-04-09 23:25 ` [PATCH 2/2] " 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).