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

Skip to content
Commit 8e9c24a2 authored by Russell King's avatar Russell King Committed by Will Deacon
Browse files

ARM: virt: avoid clobbering lr when forcing svc mode



The safe_svcmode_maskall macro is used to ensure that we are running in
svc mode, causing an exception return from hvc mode if required.

This patch removes the unneeded lr clobber from the macro and operates
entirely on the temporary parameter register instead.

Signed-off-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
[will: updated comment]
Signed-off-by: default avatarWill Deacon <will.deacon@arm.com>
parent 9931faca
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment