From: Shaibal.Dutta Date: Mon, 9 Jun 2014 20:25:52 +0000 (-0700) Subject: arm: Fix armv8 compilation error X-Git-Tag: v2014.07~58 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=fe0d9252999f3ce95185d275690e554296139ac3;p=oweals%2Fu-boot.git 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 --- diff --git a/arch/arm/include/asm/proc-armv/system.h b/arch/arm/include/asm/proc-armv/system.h index 693d1f4921..c61374e9f2 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) \ : \