summaryrefslogtreecommitdiff
path: root/arch/arm/include/asm/proc-armv
diff options
context:
space:
mode:
authorShaibal.Dutta <shaibal.dutta@broadcom.com>2014-06-09 13:25:52 -0700
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>2014-07-05 09:30:20 +0200
commitfe0d9252999f3ce95185d275690e554296139ac3 (patch)
tree269c88fc35f8607a6605550150c5848254d53df9 /arch/arm/include/asm/proc-armv
parent445abdf9e02c2792d6b6ad6e123ba57647dc89e1 (diff)
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>
Diffstat (limited to 'arch/arm/include/asm/proc-armv')
-rw-r--r--arch/arm/include/asm/proc-armv/system.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/include/asm/proc-armv/system.h b/arch/arm/include/asm/proc-armv/system.h
index 693d1f4921d..c61374e9f2e 100644
--- a/arch/arm/include/asm/proc-armv/system.h
+++ b/arch/arm/include/asm/proc-armv/system.h
@@ -22,7 +22,7 @@
#define local_irq_save(flags) \
({ \
asm volatile( \
- "mrs %0, daif" \
+ "mrs %0, daif\n" \
"msr daifset, #3" \
: "=r" (flags) \
: \