Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4b358e22 authored by Adrian Bunk's avatar Adrian Bunk Committed by Linus Torvalds
Browse files

[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: default avatarAdrian Bunk <bunk@stusta.de>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent ccdea2f8
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
header-y += atomic.h
header-y += errno-base.h
header-y += errno.h
header-y += fcntl.h
+4 −3
Original line number Diff line number Diff line
@@ -66,7 +66,7 @@ static inline void atomic_long_sub(long i, atomic_long_t *l)
	atomic64_sub(i, v);
}

#else
#else  /*  BITS_PER_LONG == 64  */

typedef atomic_t atomic_long_t;

@@ -113,5 +113,6 @@ static inline void atomic_long_sub(long i, atomic_long_t *l)
	atomic_sub(i, v);
}

#endif
#endif
#endif  /*  BITS_PER_LONG == 64  */

#endif  /*  _ASM_GENERIC_ATOMIC_H  */