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: Shaibal.Dutta <shaibal.dutta@broadcom.com> Signed-off-by: Darwin Rambo <drambo@broadcom.com> Reviewed-by: Darwin Rambo <drambo@broadcom.com>
This commit is contained in:
parent
445abdf9e0
commit
fe0d925299
@ -22,7 +22,7 @@
|
||||
#define local_irq_save(flags) \
|
||||
({ \
|
||||
asm volatile( \
|
||||
"mrs %0, daif" \
|
||||
"mrs %0, daif\n" \
|
||||
"msr daifset, #3" \
|
||||
: "=r" (flags) \
|
||||
: \
|
||||
|
Loading…
Reference in New Issue
Block a user