diff options
author | Shaibal.Dutta <shaibal.dutta@broadcom.com> | 2014-06-09 13:25:52 -0700 |
---|---|---|
committer | Albert ARIBAUD <albert.u.boot@aribaud.net> | 2014-07-05 09:30:20 +0200 |
commit | fe0d9252999f3ce95185d275690e554296139ac3 (patch) | |
tree | 269c88fc35f8607a6605550150c5848254d53df9 /arch | |
parent | 445abdf9e02c2792d6b6ad6e123ba57647dc89e1 (diff) | |
download | u-boot-imx-fe0d9252999f3ce95185d275690e554296139ac3.zip u-boot-imx-fe0d9252999f3ce95185d275690e554296139ac3.tar.gz u-boot-imx-fe0d9252999f3ce95185d275690e554296139ac3.tar.bz2 |
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')
-rw-r--r-- | arch/arm/include/asm/proc-armv/system.h | 2 |
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 693d1f4..c61374e 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) \ : \ |