ARM: sm.c: add the attribute 'volatile' to some asm() statements.
Prevent the compiler to eventually cache register values read/written
to/from CP15.

Signed-off-by: Giorgio Dal Molin <giorgio.nicole@arcor.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent b1d3023 commit 754f35fd9df11ece4513be6d1a305fb2bf178f62
@Giorgio Dal Molin Giorgio Dal Molin authored on 7 Apr 2020
Sascha Hauer committed on 14 Apr 2020
Showing 1 changed file
View
arch/arm/cpu/sm.c