linux-mips
[Top] [All Lists]

[2.6 patch] include/asm-mips/processor.h: "extern inline" -> "static inl

To: ralf@linux-mips.org
Subject: [2.6 patch] include/asm-mips/processor.h: "extern inline" -> "static inline"
From: Adrian Bunk <bunk@stusta.de>
Date: Sat, 7 Jul 2007 03:03:30 +0200
Cc: linux-mips@linux-mips.org, linux-kernel@vger.kernel.org
Original-recipient: rfc822;linux-mips@linux-mips.org
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mutt/1.5.16 (2007-06-11)
"extern inline" will have different semantics with gcc 4.3,
and "static inline" is correct here.

Signed-off-by: Adrian Bunk <bunk@stusta.de>

---
--- linux-2.6.22-rc6-mm1/include/asm-mips/processor.h.old       2007-07-07 
01:06:35.000000000 +0200
+++ linux-2.6.22-rc6-mm1/include/asm-mips/processor.h   2007-07-07 
01:06:57.000000000 +0200
@@ -237,7 +237,7 @@
 
 #define ARCH_HAS_PREFETCH
 
-extern inline void prefetch(const void *addr)
+static inline void prefetch(const void *addr)
 {
        __asm__ __volatile__(
        "       .set    mips4           \n"


<Prev in Thread] Current Thread [Next in Thread>