aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-parisc/prefetch.h
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@stusta.de>2007-10-16 17:24:59 -0400
committerKyle McMartin <kyle@shortfin.cabal.ca>2007-10-18 03:58:41 -0400
commitf13cec8447f18cca3a0feb4b83b7ba6fae9e59ae (patch)
treeab42ee63ed1a108262c9a7267fa7e36d8a9e923d /include/asm-parisc/prefetch.h
parent0ed5462927211286502576142bd322d850b49a86 (diff)
[PARISC] parisc: "extern inline" -> "static inline"
"extern inline" will have different semantics with gcc 4.3, and "static inline" is correct here. Signed-off-by: Adrian Bunk <bunk@stusta.de> Cc: Matthew Wilcox <willy@debian.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Kyle McMartin <kyle@mcmartin.ca>
Diffstat (limited to 'include/asm-parisc/prefetch.h')
-rw-r--r--include/asm-parisc/prefetch.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/asm-parisc/prefetch.h b/include/asm-parisc/prefetch.h
index 5d021726fa33..c5edc60c059f 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
22extern inline void prefetch(const void *addr) 22static 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
30extern inline void prefetchw(const void *addr) 30static 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}