Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

David Howells and committed by
Linus Torvalds
6fde836b 34574dd1

+2 -4
+2 -4
include/asm-frv/pgtable.h
··· 71 71 #define swapper_pg_dir ((pgd_t *) NULL) 72 72 73 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 + 75 + #include <asm-generic/pgtable.h> 78 76 79 77 #else /* !CONFIG_MMU */ 80 78 /*****************************************************************************/