Commit ec9a7b75 authored by Catalin Marinas's avatar Catalin Marinas

nommu: Add the lazy MMU and CPU switching functions for noMMU

The patch adds the empty arch_{enter,leave,flush}_lazy_{mmu,cpu}_mode
macros to pgtable-nommu.h
Signed-off-by: default avatarCatalin Marinas <catalin.marinas@arm.com>
parent c5e37a6a
...@@ -97,6 +97,13 @@ extern int is_in_rom(unsigned long); ...@@ -97,6 +97,13 @@ extern int is_in_rom(unsigned long);
#define FIRST_USER_ADDRESS (0) #define FIRST_USER_ADDRESS (0)
#define arch_enter_lazy_mmu_mode() do {} while (0)
#define arch_leave_lazy_mmu_mode() do {} while (0)
#define arch_flush_lazy_mmu_mode() do {} while (0)
#define arch_enter_lazy_cpu_mode() do {} while (0)
#define arch_leave_lazy_cpu_mode() do {} while (0)
#define arch_flush_lazy_cpu_mode() do {} while (0)
#else #else
/* /*
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment