From mboxrd@z Thu Jan 1 00:00:00 1970 From: Darwin Rambo Date: Mon, 9 Jun 2014 13:25:52 -0700 Subject: [U-Boot] [PATCH] arm: Fix armv8 compilation error Message-ID: <1402345552-27131-1-git-send-email-drambo@broadcom.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de From: "Shaibal.Dutta" 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 Signed-off-by: Darwin Rambo Reviewed-by: Darwin Rambo --- arch/arm/include/asm/proc-armv/system.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) \ : \ -- 1.7.9.5