Unified · Split
| @@ -166,28 +166,28 @@ static const char * const replaceTable[]= · 165 unmodified lines | ||
| 166 | 166 | |
| 167 | 167 | |
| 168 | 168 | #if ARCH_X86 && HAVE_INLINE_ASM |
| 169 | −static inline void prefetchnta(void *p) | |
| 169 | +static inline void prefetchnta(const void *p) | |
| 170 | 170 | { |
| 171 | 171 | __asm__ volatile( "prefetchnta (%0)\n\t" |
| 172 | 172 | : : "r" (p) |
| 173 | 173 | ); |
| 174 | 174 | } |
| 175 | 175 | |
| 176 | −static inline void prefetcht0(void *p) | |
| 176 | +static inline void prefetcht0(const void *p) | |
| 177 | 177 | { |
| 178 | 178 | __asm__ volatile( "prefetcht0 (%0)\n\t" |
| 179 | 179 | : : "r" (p) |
| 180 | 180 | ); |
| 181 | 181 | } |
| 182 | 182 | |
| 183 | −static inline void prefetcht1(void *p) | |
| 183 | +static inline void prefetcht1(const void *p) | |
| 184 | 184 | { |
| 185 | 185 | __asm__ volatile( "prefetcht1 (%0)\n\t" |
| 186 | 186 | : : "r" (p) |
| 187 | 187 | ); |
| 188 | 188 | } |
| 189 | 189 | |
| 190 | −static inline void prefetcht2(void *p) | |
| 190 | +static inline void prefetcht2(const void *p) | |
| 191 | 191 | { |
| 192 | 192 | __asm__ volatile( "prefetcht2 (%0)\n\t" |
| 193 | 193 | : : "r" (p) |