Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 02ed1c7b authored by Will Deacon's avatar Will Deacon Committed by Jonathan Austin
Browse files

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: default avatarWill Deacon <will.deacon@arm.com>
parent 5c709e69
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -137,6 +137,10 @@ extern void cpu_resume(void);
	})
#endif

#else	/*!CONFIG_MMU */

#define cpu_switch_mm(pgd,mm)	{ }

#endif

#endif /* __ASSEMBLY__ */