mirror of
https://github.com/opnsense/src.git
synced 2026-06-11 01:30:30 -04:00
arm64: Use the new CurrentEL macros
Sponsored by: Arm Ltd Differential Revision: https://reviews.freebsd.org/D43972
This commit is contained in:
parent
5e7941b6c9
commit
37563d39ef
1 changed files with 2 additions and 2 deletions
|
|
@ -267,8 +267,8 @@ END(mpentry)
|
|||
*/
|
||||
LENTRY(drop_to_el1)
|
||||
mrs x23, CurrentEL
|
||||
lsr x23, x23, #2
|
||||
cmp x23, #0x2
|
||||
and x23, x23, #(CURRENTEL_EL_MASK)
|
||||
cmp x23, #(CURRENTEL_EL_EL2)
|
||||
b.eq 1f
|
||||
ret
|
||||
1:
|
||||
|
|
|
|||
Loading…
Reference in a new issue