mirror of
https://github.com/torvalds/linux.git
synced 2024-12-26 12:52:30 +00:00
ARM: nommu: provide dummy cpu_switch_mm implementation
cpu_switch_mm is a logical nop on nommu systems, so define it as such when !CONFIG_MMU. Signed-off-by: Will Deacon <will.deacon@arm.com>
This commit is contained in:
parent
5c709e6998
commit
02ed1c7bba
@ -137,6 +137,10 @@ extern void cpu_resume(void);
|
||||
})
|
||||
#endif
|
||||
|
||||
#else /*!CONFIG_MMU */
|
||||
|
||||
#define cpu_switch_mm(pgd,mm) { }
|
||||
|
||||
#endif
|
||||
|
||||
#endif /* __ASSEMBLY__ */
|
||||
|
Loading…
Reference in New Issue
Block a user