Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e744dff7 authored by Will Deacon's avatar Will Deacon
Browse files

ARM: prefetch: remove redundant "cc" clobber



The pld instruction does not affect the condition flags, so don't bother
clobbering them.

Acked-by: default avatarNicolas Pitre <nico@linaro.org>
Signed-off-by: default avatarWill Deacon <will.deacon@arm.com>
parent 15c03dd4
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -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