diff options
Diffstat (limited to 'arch/arm/include/asm/processor.h')
-rw-r--r-- | arch/arm/include/asm/processor.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/include/asm/processor.h b/arch/arm/include/asm/processor.h index b01d5e7e3d5a..517a4d6ffc74 100644 --- a/arch/arm/include/asm/processor.h +++ b/arch/arm/include/asm/processor.h | |||
@@ -112,9 +112,9 @@ extern int kernel_thread(int (*fn)(void *), void *arg, unsigned long flags); | |||
112 | static inline void prefetch(const void *ptr) | 112 | static inline void prefetch(const void *ptr) |
113 | { | 113 | { |
114 | __asm__ __volatile__( | 114 | __asm__ __volatile__( |
115 | "pld\t%0" | 115 | "pld\t%a0" |
116 | : | 116 | : |
117 | : "o" (*(char *)ptr) | 117 | : "p" (ptr) |
118 | : "cc"); | 118 | : "cc"); |
119 | } | 119 | } |
120 | 120 | ||