diff options
Diffstat (limited to 'arch/parisc/lib/memcpy.c')
-rw-r--r-- | arch/parisc/lib/memcpy.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/parisc/lib/memcpy.c b/arch/parisc/lib/memcpy.c index 2c43ebe99a9c..d22042d33100 100644 --- a/arch/parisc/lib/memcpy.c +++ b/arch/parisc/lib/memcpy.c | |||
@@ -139,12 +139,12 @@ DECLARE_PER_CPU(struct exception_data, exception_data); | |||
139 | #define stw(_s,_t,_o,_a,_e) def_store_insn(stw,"r",_s,_t,_o,_a,_e) | 139 | #define stw(_s,_t,_o,_a,_e) def_store_insn(stw,"r",_s,_t,_o,_a,_e) |
140 | 140 | ||
141 | #ifdef CONFIG_PREFETCH | 141 | #ifdef CONFIG_PREFETCH |
142 | extern inline void prefetch_src(const void *addr) | 142 | static inline void prefetch_src(const void *addr) |
143 | { | 143 | { |
144 | __asm__("ldw 0(" s_space ",%0), %%r0" : : "r" (addr)); | 144 | __asm__("ldw 0(" s_space ",%0), %%r0" : : "r" (addr)); |
145 | } | 145 | } |
146 | 146 | ||
147 | extern inline void prefetch_dst(const void *addr) | 147 | static inline void prefetch_dst(const void *addr) |
148 | { | 148 | { |
149 | __asm__("ldd 0(" d_space ",%0), %%r0" : : "r" (addr)); | 149 | __asm__("ldd 0(" d_space ",%0), %%r0" : : "r" (addr)); |
150 | } | 150 | } |