From: Adrian Bunk Date: Sat, 7 Jul 2007 01:03:30 +0000 (+0200) Subject: [MIPS] "extern inline" -> "static inline" X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=9797cae3bfd2d7190609cdce05248cabc5d9081e;p=linux-beck.git [MIPS] "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 Signed-off-by: Ralf Baechle --- diff --git a/include/asm-mips/processor.h b/include/asm-mips/processor.h index 5f80ba71ab92..3a466dc7b7db 100644 --- a/include/asm-mips/processor.h +++ b/include/asm-mips/processor.h @@ -237,7 +237,7 @@ unsigned long get_wchan(struct task_struct *p); #define ARCH_HAS_PREFETCH -extern inline void prefetch(const void *addr) +static inline void prefetch(const void *addr) { __asm__ __volatile__( " .set mips4 \n"