Skip to content
Snippets Groups Projects
Commit fe0d9252 authored by Shaibal.Dutta's avatar Shaibal.Dutta Committed by Albert ARIBAUD
Browse files

arm: Fix armv8 compilation error


Fix following compilation error when CONFIG_ARM64 is defined

Error: unknown or missing system register name at operand 2
-- `mrs x0,daifmsr daifset,#3'

Signed-off-by: default avatarShaibal.Dutta <shaibal.dutta@broadcom.com>
Signed-off-by: default avatarDarwin Rambo <drambo@broadcom.com>
Reviewed-by: default avatarDarwin Rambo <drambo@broadcom.com>
parent 445abdf9
No related branches found
No related tags found
No related merge requests found
......@@ -22,7 +22,7 @@
#define local_irq_save(flags) \
({ \
asm volatile( \
"mrs %0, daif" \
"mrs %0, daif\n" \
"msr daifset, #3" \
: "=r" (flags) \
: \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment