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:
Shaibal.Dutta 2014-06-09 13:25:52 -07:00 committed by Albert ARIBAUD
parent 445abdf9e0
commit fe0d925299

View File

@ -22,7 +22,7 @@
#define local_irq_save(flags) \
({ \
asm volatile( \
"mrs %0, daif" \
"mrs %0, daif\n" \
"msr daifset, #3" \
: "=r" (flags) \
: \