[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 <bunk@stusta.de> Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
This commit is contained in:
committed by
Ralf Baechle
parent
e48ce6b8df
commit
9797cae3bf
@@ -237,7 +237,7 @@ unsigned long get_wchan(struct task_struct *p);
|
|||||||
|
|
||||||
#define ARCH_HAS_PREFETCH
|
#define ARCH_HAS_PREFETCH
|
||||||
|
|
||||||
extern inline void prefetch(const void *addr)
|
static inline void prefetch(const void *addr)
|
||||||
{
|
{
|
||||||
__asm__ __volatile__(
|
__asm__ __volatile__(
|
||||||
" .set mips4 \n"
|
" .set mips4 \n"
|
||||||
|
Reference in New Issue
Block a user