From: David Howells Date: Thu, 9 Apr 2009 16:32:55 +0000 (+0100) Subject: FRV: Use in NOMMU mode X-Git-Tag: upstream/snapshot3+hdmi~19239 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=6fde836b54f1f0ca3d3c8b7aaf44165a08fe0f9f;p=platform%2Fadaptation%2Frenesas_rcar%2Frenesas_kernel.git FRV: Use in NOMMU mode asm-frv/pgtable.h could just #include in NOMMU mode rather than #defining macros for lazy MMU and CPU stuff. Signed-off-by: David Howells Signed-off-by: Linus Torvalds --- 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 #else /* !CONFIG_MMU */ /*****************************************************************************/