diff options
author | Adrian Bunk <bunk@stusta.de> | 2006-12-06 23:40:28 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.osdl.org> | 2006-12-07 11:39:45 -0500 |
commit | 4b358e22064b4551aa8b4dcfe3efe70a13548676 (patch) | |
tree | 77c630d072bc8413ce9cbfa1e9a3f5df061f6fca /include/asm-generic/atomic.h | |
parent | ccdea2f88b5689f0fd29c3804be43a3acf0311e3 (diff) |
[PATCH] cleanup include/asm-generic/atomic.h
cleanup asm-generic/atomic.h
- no longer a userspace header
- remove the unneeded #include <asm/types.h>
- #else/#endif comments
[akpm@osdl.org: fix arm build]
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/asm-generic/atomic.h')
-rw-r--r-- | include/asm-generic/atomic.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/include/asm-generic/atomic.h b/include/asm-generic/atomic.h index 42a95d9a0641..b7e4a0467cb1 100644 --- a/include/asm-generic/atomic.h +++ b/include/asm-generic/atomic.h | |||
@@ -66,7 +66,7 @@ static inline void atomic_long_sub(long i, atomic_long_t *l) | |||
66 | atomic64_sub(i, v); | 66 | atomic64_sub(i, v); |
67 | } | 67 | } |
68 | 68 | ||
69 | #else | 69 | #else /* BITS_PER_LONG == 64 */ |
70 | 70 | ||
71 | typedef atomic_t atomic_long_t; | 71 | typedef atomic_t atomic_long_t; |
72 | 72 | ||
@@ -113,5 +113,6 @@ static inline void atomic_long_sub(long i, atomic_long_t *l) | |||
113 | atomic_sub(i, v); | 113 | atomic_sub(i, v); |
114 | } | 114 | } |
115 | 115 | ||
116 | #endif | 116 | #endif /* BITS_PER_LONG == 64 */ |
117 | #endif | 117 | |
118 | #endif /* _ASM_GENERIC_ATOMIC_H */ | ||