diff options
author | Arnd Bergmann <arnd@arndb.de> | 2009-05-13 18:56:29 -0400 |
---|---|---|
committer | Arnd Bergmann <arnd@klappe2.(none)> | 2009-06-11 15:02:17 -0400 |
commit | 72099ed2719fc5829bd79c6ca9d1783ed026eb37 (patch) | |
tree | d404ded029707e3ae9146431d6b9fa033f99a64e /arch/xtensa | |
parent | e64a1617eca39d62b248a11699de9c1195369661 (diff) |
asm-generic: rename atomic.h to atomic-long.h
The existing asm-generic/atomic.h only defines the
atomic_long type. This renames it to atomic-long.h
so we have a place to add a truly generic atomic.h
that can be used on all non-SMP systems.
Signed-off-by: Remis Lima Baima <remis.developer@googlemail.com>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/xtensa')
-rw-r--r-- | arch/xtensa/include/asm/atomic.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/xtensa/include/asm/atomic.h b/arch/xtensa/include/asm/atomic.h index 67ad67bed8c1..22d6dde42619 100644 --- a/arch/xtensa/include/asm/atomic.h +++ b/arch/xtensa/include/asm/atomic.h | |||
@@ -292,7 +292,7 @@ static inline void atomic_set_mask(unsigned int mask, atomic_t *v) | |||
292 | #define smp_mb__before_atomic_inc() barrier() | 292 | #define smp_mb__before_atomic_inc() barrier() |
293 | #define smp_mb__after_atomic_inc() barrier() | 293 | #define smp_mb__after_atomic_inc() barrier() |
294 | 294 | ||
295 | #include <asm-generic/atomic.h> | 295 | #include <asm-generic/atomic-long.h> |
296 | #endif /* __KERNEL__ */ | 296 | #endif /* __KERNEL__ */ |
297 | 297 | ||
298 | #endif /* _XTENSA_ATOMIC_H */ | 298 | #endif /* _XTENSA_ATOMIC_H */ |