diff options
author | David Howells <dhowells@redhat.com> | 2007-02-28 20:12:03 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-03-01 14:53:36 -0800 |
commit | 28936117af849b8c2fca664a41ea7651a0d99591 (patch) | |
tree | d88bd894cb4d3652fd2d678fe9f2606c0b2ac6cf /include/asm-frv | |
parent | fa6427542cfd2811f48186c68057273c6537f261 (diff) | |
download | kernel_samsung_tuna-28936117af849b8c2fca664a41ea7651a0d99591.zip kernel_samsung_tuna-28936117af849b8c2fca664a41ea7651a0d99591.tar.gz kernel_samsung_tuna-28936117af849b8c2fca664a41ea7651a0d99591.tar.bz2 |
[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')
-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 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 */ /*****************************************************************************/ |