diff options
| -rw-r--r-- | include/asm-generic/Kbuild | 1 | ||||
| -rw-r--r-- | include/asm-generic/atomic.h | 7 |
2 files changed, 4 insertions, 4 deletions
diff --git a/include/asm-generic/Kbuild b/include/asm-generic/Kbuild index 3c06be381701..fa14f8cd30c5 100644 --- a/include/asm-generic/Kbuild +++ b/include/asm-generic/Kbuild | |||
| @@ -1,4 +1,3 @@ | |||
| 1 | header-y += atomic.h | ||
| 2 | header-y += errno-base.h | 1 | header-y += errno-base.h |
| 3 | header-y += errno.h | 2 | header-y += errno.h |
| 4 | header-y += fcntl.h | 3 | header-y += fcntl.h |
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 */ | ||
