Commit 12d4a9c8 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 57b88f17
...@@ -92,6 +92,13 @@ extern unsigned int kobjsize(const void *objp); ...@@ -92,6 +92,13 @@ extern unsigned int kobjsize(const void *objp);
#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