mirror of
https://git.codelinaro.org/clo/qsdk/oss/boot/u-boot-2016.git
synced 2026-03-14 21:10:27 +01:00
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
1 changed files with 1 additions and 1 deletions
|
|
@ -22,7 +22,7 @@
|
|||
#define local_irq_save(flags) \
|
||||
({ \
|
||||
asm volatile( \
|
||||
"mrs %0, daif" \
|
||||
"mrs %0, daif\n" \
|
||||
"msr daifset, #3" \
|
||||
: "=r" (flags) \
|
||||
: \
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue