summaryrefslogtreecommitdiffstats
path: root/include/asm-parisc/prefetch.h
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@stusta.de>2007-10-16 14:24:59 -0700
committerKyle McMartin <kyle@shortfin.cabal.ca>2007-10-18 00:58:41 -0700
commitf13cec8447f18cca3a0feb4b83b7ba6fae9e59ae (patch)
treeab42ee63ed1a108262c9a7267fa7e36d8a9e923d /include/asm-parisc/prefetch.h
parent0ed5462927211286502576142bd322d850b49a86 (diff)
downloadop-kernel-dev-f13cec8447f18cca3a0feb4b83b7ba6fae9e59ae.zip
op-kernel-dev-f13cec8447f18cca3a0feb4b83b7ba6fae9e59ae.tar.gz
[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 5d02172..c5edc60 100644
--- a/include/asm-parisc/prefetch.h
+++ b/include/asm-parisc/prefetch.h
@@ -19,7 +19,7 @@
#ifdef CONFIG_PREFETCH
#define ARCH_HAS_PREFETCH
-extern inline void prefetch(const void *addr)
+static inline void prefetch(const void *addr)
{
__asm__("ldw 0(%0), %%r0" : : "r" (addr));
}
@@ -27,7 +27,7 @@ extern inline void prefetch(const void *addr)
/* LDD is a PA2.0 addition. */
#ifdef CONFIG_PA20
#define ARCH_HAS_PREFETCHW
-extern inline void prefetchw(const void *addr)
+static inline void prefetchw(const void *addr)
{
__asm__("ldd 0(%0), %%r0" : : "r" (addr));
}
OpenPOWER on IntegriCloud