diff options
author | David Howells <dhowells@redhat.com> | 2007-02-28 23:12:03 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-03-01 17:53:36 -0500 |
commit | 28936117af849b8c2fca664a41ea7651a0d99591 (patch) | |
tree | d88bd894cb4d3652fd2d678fe9f2606c0b2ac6cf /include/asm-frv/pgtable.h | |
parent | fa6427542cfd2811f48186c68057273c6537f261 (diff) |
[PATCH] FRV: Add some missng lazy MMU hooks for NOMMU mode
Add some missing lazy MMU hooks for NOMMU mode.
Signed-off-by: David Howells <dhowells@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/asm-frv/pgtable.h')
-rw-r--r-- | 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 ba1b37df69d5..8a05aa168616 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; } | |||
70 | 70 | ||
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) | ||
75 | #define arch_leave_lazy_mmu_mode() do {} while (0) | ||
76 | #define arch_enter_lazy_cpu_mode() do {} while (0) | ||
77 | #define arch_leave_lazy_cpu_mode() do {} while (0) | ||
74 | 78 | ||
75 | #else /* !CONFIG_MMU */ | 79 | #else /* !CONFIG_MMU */ |
76 | /*****************************************************************************/ | 80 | /*****************************************************************************/ |