]> err.no Git - linux-2.6/commitdiff
[MIPS] "extern inline" -> "static inline"
authorAdrian Bunk <bunk@stusta.de>
Sat, 7 Jul 2007 01:03:30 +0000 (03:03 +0200)
committerRalf Baechle <ralf@linux-mips.org>
Tue, 10 Jul 2007 16:32:55 +0000 (17:32 +0100)
"extern inline" will have different semantics with gcc 4.3, and
"static inline" is correct here.

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
include/asm-mips/processor.h

index 5f80ba71ab92b3ad17778e483a8cad854d728c24..3a466dc7b7db951827a16d78bd5c97780ca217ee 100644 (file)
@@ -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"