summaryrefslogtreecommitdiffstats
path: root/include/asm-v850/atomic.h
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@stusta.de>2005-11-07 09:59:00 +0100
committerLinus Torvalds <torvalds@g5.osdl.org>2005-11-07 16:53:32 +0100
commit23f88fe4bffe01a0d29326789cb5813cd6f8158e (patch)
tree163c8a86cbc059e3f8a65eeb0c1ee366548e595c /include/asm-v850/atomic.h
parent[PATCH] uml: build host-binaries with the native host arch again (diff)
downloadlinux-23f88fe4bffe01a0d29326789cb5813cd6f8158e.tar.xz
linux-23f88fe4bffe01a0d29326789cb5813cd6f8158e.zip
[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;