summaryrefslogtreecommitdiffstats
path: root/include/asm-v850/system.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-v850/system.h')
-rw-r--r--include/asm-v850/system.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-v850/system.h b/include/asm-v850/system.h
index 20f4c738c04..107decbd6e6 100644
--- a/include/asm-v850/system.h
+++ b/include/asm-v850/system.h
@@ -81,7 +81,7 @@ static inline int irqs_disabled (void)
((__typeof__ (*(ptr)))__xchg ((unsigned long)(with), (ptr), sizeof (*(ptr))))
#define tas(ptr) (xchg ((ptr), 1))
-extern inline unsigned long __xchg (unsigned long with,
+static inline unsigned long __xchg (unsigned long with,
__volatile__ void *ptr, int size)
{
unsigned long tmp, flags;