git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
3ba2c5b
)
ARM: prefetch: remove redundant "cc" clobber
author
Will Deacon
<will.deacon@arm.com>
Wed, 26 Jun 2013 15:47:35 +0000
(16:47 +0100)
committer
Grazvydas Ignotas
<notasas@gmail.com>
Thu, 2 Jul 2015 00:09:55 +0000
(
03:09
+0300)
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
patch
|
blob
|
history
diff --git
a/arch/arm/include/asm/processor.h
b/arch/arm/include/asm/processor.h
index
3352451
..
b81b61c
100644
(file)
--- a/
arch/arm/include/asm/processor.h
+++ b/
arch/arm/include/asm/processor.h
@@
-106,9
+106,7
@@
static inline void prefetch(const void *ptr)
{
__asm__ __volatile__(
"pld\t%a0"
- :
- : "p" (ptr)
- : "cc");
+ :: "p" (ptr));
}
#define ARCH_HAS_PREFETCHW