From: Adrian Bunk Date: Sat, 7 Jul 2007 01:03:30 +0000 (+0200) Subject: [MIPS] "extern inline" -> "static inline" X-Git-Tag: v2.6.23-rc1~1153^2~58 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9797cae3bfd2d7190609cdce05248cabc5d9081e;p=linux-2.6 [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 5f80ba71ab..3a466dc7b7 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"