From: Albert ARIBAUD Date: Sat, 5 Jul 2014 11:03:02 +0200 Subject: [U-Boot] [PATCH] arm: Fix armv8 compilation error In-Reply-To: <1402345552-27131-1-git-send-email-drambo@broadcom.com> References: <1402345552-27131-1-git-send-email-drambo@broadcom.com> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi Darwin, On Mon, 9 Jun 2014 13:25:52 -0700, Darwin Rambo wrote: > 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) \ > : \ Applied to u-boot-arm/master, thanks! Amicalement, -- Albert.