diff options
author | Adrian Bunk <bunk@stusta.de> | 2007-10-16 14:24:59 -0700 |
---|---|---|
committer | Kyle McMartin <kyle@shortfin.cabal.ca> | 2007-10-18 00:58:41 -0700 |
commit | f13cec8447f18cca3a0feb4b83b7ba6fae9e59ae (patch) | |
tree | ab42ee63ed1a108262c9a7267fa7e36d8a9e923d /arch/parisc | |
parent | 0ed5462927211286502576142bd322d850b49a86 (diff) | |
download | linux-f13cec8447f18cca3a0feb4b83b7ba6fae9e59ae.tar.gz linux-f13cec8447f18cca3a0feb4b83b7ba6fae9e59ae.tar.bz2 linux-f13cec8447f18cca3a0feb4b83b7ba6fae9e59ae.zip |
[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 'arch/parisc')
-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); #define stw(_s,_t,_o,_a,_e) def_store_insn(stw,"r",_s,_t,_o,_a,_e) #ifdef CONFIG_PREFETCH -extern inline void prefetch_src(const void *addr) +static inline void prefetch_src(const void *addr) { __asm__("ldw 0(" s_space ",%0), %%r0" : : "r" (addr)); } -extern inline void prefetch_dst(const void *addr) +static inline void prefetch_dst(const void *addr) { __asm__("ldd 0(" d_space ",%0), %%r0" : : "r" (addr)); } |