OSDN Git Service
(root)
/
linux-kernel-docs
/
linux-2.6.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e48ce6b
)
[MIPS] "extern inline" -> "static inline"
author
Adrian Bunk
<bunk@stusta.de>
Sat, 7 Jul 2007 01:03:30 +0000
(
03:03
+0200)
committer
Ralf 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
patch
|
blob
|
history
diff --git
a/include/asm-mips/processor.h
b/include/asm-mips/processor.h
index
5f80ba7
..
3a466dc
100644
(file)
--- 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"