summaryrefslogtreecommitdiffstats
path: root/arch/arm/include
diff options
context:
space:
mode:
authorWill Deacon <will.deacon@arm.com>2013-06-26 16:47:35 +0100
committerWill Deacon <will.deacon@arm.com>2013-09-30 16:42:55 +0100
commite744dff72bcd4d9588af91e1feb662702222ca12 (patch)
treef4fb97bf008d5894ab9f64f852fd717ee047e56c /arch/arm/include
parent15c03dd4859ab16f9212238f29dd315654aa94f6 (diff)
downloadop-kernel-dev-e744dff72bcd4d9588af91e1feb662702222ca12.zip
op-kernel-dev-e744dff72bcd4d9588af91e1feb662702222ca12.tar.gz
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 <nico@linaro.org> Signed-off-by: Will Deacon <will.deacon@arm.com>
Diffstat (limited to 'arch/arm/include')
-rw-r--r--arch/arm/include/asm/processor.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/arch/arm/include/asm/processor.h b/arch/arm/include/asm/processor.h
index 413f387..514a989 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
OpenPOWER on IntegriCloud