Skip to content

Commit

Permalink
[MIPS] "extern inline" -> "static inline"
Browse files Browse the repository at this point in the history
"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>
  • Loading branch information
Adrian Bunk authored and Ralf Baechle committed Jul 10, 2007
1 parent e48ce6b commit 9797cae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/asm-mips/processor.h
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 9797cae

Please sign in to comment.