diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/asm-arm/atomic.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-arm/atomic.h b/include/asm-arm/atomic.h index d8ba0a9eb085..d586f65c8228 100644 --- a/include/asm-arm/atomic.h +++ b/include/asm-arm/atomic.h | |||
@@ -83,7 +83,7 @@ static inline int atomic_sub_return(int i, atomic_t *v) | |||
83 | 83 | ||
84 | static inline int atomic_cmpxchg(atomic_t *ptr, int old, int new) | 84 | static inline int atomic_cmpxchg(atomic_t *ptr, int old, int new) |
85 | { | 85 | { |
86 | u32 oldval, res; | 86 | unsigned long oldval, res; |
87 | 87 | ||
88 | do { | 88 | do { |
89 | __asm__ __volatile__("@ atomic_cmpxchg\n" | 89 | __asm__ __volatile__("@ atomic_cmpxchg\n" |