]> Pileus Git - ~andy/linux/commitdiff
ARM: prefetch: remove redundant "cc" clobber
authorWill Deacon <will.deacon@arm.com>
Wed, 26 Jun 2013 15:47:35 +0000 (16:47 +0100)
committerWill Deacon <will.deacon@arm.com>
Mon, 30 Sep 2013 15:42:55 +0000 (16:42 +0100)
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>
arch/arm/include/asm/processor.h

index 413f3876341cd6fd2e7bc4b1c6a71873cadaa887..514a989cbd4b4084aa8e7d560eaf8f64277436a1 100644 (file)
@@ -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