aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-frv
diff options
context:
space:
mode:
authorDavid Howells <dhowells@redhat.com>2009-04-09 12:32:55 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2009-04-09 13:46:05 -0400
commit6fde836b54f1f0ca3d3c8b7aaf44165a08fe0f9f (patch)
tree9abb01999f006f23d94c95458cedef476beef79f /include/asm-frv
parent34574dd10b6d0697b86703388d6d6af9cbf4bb48 (diff)
FRV: Use <asm-generic/pgtable.h> in NOMMU mode
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> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/asm-frv')
-rw-r--r--include/asm-frv/pgtable.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/include/asm-frv/pgtable.h b/include/asm-frv/pgtable.h
index e16fdb1f4f4f..33233011b1c1 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; }
71#define swapper_pg_dir ((pgd_t *) NULL) 71#define swapper_pg_dir ((pgd_t *) NULL)
72 72
73#define pgtable_cache_init() do {} while (0) 73#define pgtable_cache_init() do {} while (0)
74#define arch_enter_lazy_mmu_mode() do {} while (0) 74
75#define arch_leave_lazy_mmu_mode() do {} while (0) 75#include <asm-generic/pgtable.h>
76#define arch_enter_lazy_cpu_mode() do {} while (0)
77#define arch_leave_lazy_cpu_mode() do {} while (0)
78 76
79#else /* !CONFIG_MMU */ 77#else /* !CONFIG_MMU */
80/*****************************************************************************/ 78/*****************************************************************************/