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 /include/asm-generic/bitops | |
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 'include/asm-generic/bitops')
-rw-r--r-- | include/asm-generic/bitops/atomic.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/asm-generic/bitops/atomic.h b/include/asm-generic/bitops/atomic.h index 4657f3e410f..c8946465e63 100644 --- a/include/asm-generic/bitops/atomic.h +++ b/include/asm-generic/bitops/atomic.h | |||
@@ -2,6 +2,7 @@ | |||
2 | #define _ASM_GENERIC_BITOPS_ATOMIC_H_ | 2 | #define _ASM_GENERIC_BITOPS_ATOMIC_H_ |
3 | 3 | ||
4 | #include <asm/types.h> | 4 | #include <asm/types.h> |
5 | #include <asm/system.h> | ||
5 | 6 | ||
6 | #ifdef CONFIG_SMP | 7 | #ifdef CONFIG_SMP |
7 | #include <asm/spinlock.h> | 8 | #include <asm/spinlock.h> |