Skip to content

Commit 6fde836

Browse files
dhowellstorvalds
authored andcommitted
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 <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
1 parent 34574dd commit 6fde836

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

include/asm-frv/pgtable.h

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -71,10 +71,8 @@ static inline int pte_file(pte_t pte) { return 0; }
7171
#define swapper_pg_dir ((pgd_t *) NULL)
7272

7373
#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>
7876

7977
#else /* !CONFIG_MMU */
8078
/*****************************************************************************/

0 commit comments

Comments
 (0)