mirror of
https://github.com/torvalds/linux.git
synced 2024-12-26 12:52:30 +00:00
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>
This commit is contained in:
parent
15c03dd485
commit
e744dff72b
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user