From: Will Deacon Date: Wed, 26 Jun 2013 15:47:35 +0000 (+0100) Subject: ARM: prefetch: remove redundant "cc" clobber X-Git-Tag: Ubuntu-5.10.0-12.13~18005^2~1^2~5^2~5 X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=e744dff72bcd4d9588af91e1feb662702222ca12;p=mirror_ubuntu-hirsute-kernel.git ARM: prefetch: remove redundant "cc" clobber The pld instruction does not affect the condition flags, so don't bother clobbering them. Acked-by: Nicolas Pitre Signed-off-by: Will Deacon --- diff --git a/arch/arm/include/asm/processor.h b/arch/arm/include/asm/processor.h index 413f3876341c..514a989cbd4b 100644 --- a/arch/arm/include/asm/processor.h +++ b/arch/arm/include/asm/processor.h @@ -97,9 +97,7 @@ static inline void prefetch(const void *ptr) { __asm__ __volatile__( "pld\t%a0" - : - : "p" (ptr) - : "cc"); + :: "p" (ptr)); } #define ARCH_HAS_PREFETCHW