summaryrefslogtreecommitdiffstats
path: root/include/asm-v850/atomic.h
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@stusta.de>2005-11-07 00:59:00 -0800
committerLinus Torvalds <torvalds@g5.osdl.org>2005-11-07 07:53:32 -0800
commit23f88fe4bffe01a0d29326789cb5813cd6f8158e (patch)
tree163c8a86cbc059e3f8a65eeb0c1ee366548e595c /include/asm-v850/atomic.h
parent26d89d1eef38473d0da64b7137952c56d0b6d13f (diff)
downloadlinux-23f88fe4bffe01a0d29326789cb5813cd6f8158e.tar.bz2
[PATCH] include/asm-v850/ "extern inline" -> "static inline"
"extern inline" doesn't make much sense. Signed-off-by: Adrian Bunk <bunk@stusta.de> Cc: Miles Bader <miles@gnu.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/asm-v850/atomic.h')
-rw-r--r--include/asm-v850/atomic.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-v850/atomic.h b/include/asm-v850/atomic.h
index 8284aa7363f2..395268a8c0de 100644
--- a/include/asm-v850/atomic.h
+++ b/include/asm-v850/atomic.h
@@ -31,7 +31,7 @@ typedef struct { int counter; } atomic_t;
#define atomic_read(v) ((v)->counter)
#define atomic_set(v,i) (((v)->counter) = (i))
-extern __inline__ int atomic_add_return (int i, volatile atomic_t *v)
+static inline int atomic_add_return (int i, volatile atomic_t *v)
{
unsigned long flags;
int res;