diff options
Diffstat (limited to 'include/asm-v850/system.h')
-rw-r--r-- | include/asm-v850/system.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-v850/system.h b/include/asm-v850/system.h index 20f4c738c04e..107decbd6e6c 100644 --- a/include/asm-v850/system.h +++ b/include/asm-v850/system.h | |||
@@ -81,7 +81,7 @@ static inline int irqs_disabled (void) | |||
81 | ((__typeof__ (*(ptr)))__xchg ((unsigned long)(with), (ptr), sizeof (*(ptr)))) | 81 | ((__typeof__ (*(ptr)))__xchg ((unsigned long)(with), (ptr), sizeof (*(ptr)))) |
82 | #define tas(ptr) (xchg ((ptr), 1)) | 82 | #define tas(ptr) (xchg ((ptr), 1)) |
83 | 83 | ||
84 | extern inline unsigned long __xchg (unsigned long with, | 84 | static inline unsigned long __xchg (unsigned long with, |
85 | __volatile__ void *ptr, int size) | 85 | __volatile__ void *ptr, int size) |
86 | { | 86 | { |
87 | unsigned long tmp, flags; | 87 | unsigned long tmp, flags; |