aboutsummaryrefslogtreecommitdiffstats
path: root/arch/parisc/lib
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 /arch/parisc/lib
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 'arch/parisc/lib')
-rw-r--r--arch/parisc/lib/memcpy.c4
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);
139#define stw(_s,_t,_o,_a,_e) def_store_insn(stw,"r",_s,_t,_o,_a,_e) 139#define stw(_s,_t,_o,_a,_e) def_store_insn(stw,"r",_s,_t,_o,_a,_e)
140 140
141#ifdef CONFIG_PREFETCH 141#ifdef CONFIG_PREFETCH
142extern inline void prefetch_src(const void *addr) 142static inline void prefetch_src(const void *addr)
143{ 143{
144 __asm__("ldw 0(" s_space ",%0), %%r0" : : "r" (addr)); 144 __asm__("ldw 0(" s_space ",%0), %%r0" : : "r" (addr));
145} 145}
146 146
147extern inline void prefetch_dst(const void *addr) 147static inline void prefetch_dst(const void *addr)
148{ 148{
149 __asm__("ldd 0(" d_space ",%0), %%r0" : : "r" (addr)); 149 __asm__("ldd 0(" d_space ",%0), %%r0" : : "r" (addr));
150} 150}