From fe0d9252999f3ce95185d275690e554296139ac3 Mon Sep 17 00:00:00 2001 From: "Shaibal.Dutta" Date: Mon, 9 Jun 2014 13:25:52 -0700 Subject: 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 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(-) (limited to 'arch/arm/include/asm/proc-armv') 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) \ : \ -- cgit v1.2.3