diff options
Diffstat (limited to 'include/asm-parisc/prefetch.h')
-rw-r--r-- | include/asm-parisc/prefetch.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/asm-parisc/prefetch.h b/include/asm-parisc/prefetch.h index 5d021726fa3..c5edc60c059 100644 --- a/include/asm-parisc/prefetch.h +++ b/include/asm-parisc/prefetch.h | |||
@@ -19,7 +19,7 @@ | |||
19 | #ifdef CONFIG_PREFETCH | 19 | #ifdef CONFIG_PREFETCH |
20 | 20 | ||
21 | #define ARCH_HAS_PREFETCH | 21 | #define ARCH_HAS_PREFETCH |
22 | extern inline void prefetch(const void *addr) | 22 | static inline void prefetch(const void *addr) |
23 | { | 23 | { |
24 | __asm__("ldw 0(%0), %%r0" : : "r" (addr)); | 24 | __asm__("ldw 0(%0), %%r0" : : "r" (addr)); |
25 | } | 25 | } |
@@ -27,7 +27,7 @@ extern inline void prefetch(const void *addr) | |||
27 | /* LDD is a PA2.0 addition. */ | 27 | /* LDD is a PA2.0 addition. */ |
28 | #ifdef CONFIG_PA20 | 28 | #ifdef CONFIG_PA20 |
29 | #define ARCH_HAS_PREFETCHW | 29 | #define ARCH_HAS_PREFETCHW |
30 | extern inline void prefetchw(const void *addr) | 30 | static inline void prefetchw(const void *addr) |
31 | { | 31 | { |
32 | __asm__("ldd 0(%0), %%r0" : : "r" (addr)); | 32 | __asm__("ldd 0(%0), %%r0" : : "r" (addr)); |
33 | } | 33 | } |