diff options
author | Alexey Dobriyan <adobriyan@gmail.com> | 2009-09-26 19:37:22 +0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-09-26 10:17:19 -0700 |
commit | 1d1764c39815db55e10b2d78732db4d6dd9d6039 (patch) | |
tree | 4511bd9b696d86eae2922239407a9655abf6c80b /include/linux/kref.h | |
parent | 3b383767c41be070cae24875789d97b42a3e71a8 (diff) | |
download | linux-1d1764c39815db55e10b2d78732db4d6dd9d6039.tar.gz linux-1d1764c39815db55e10b2d78732db4d6dd9d6039.tar.bz2 linux-1d1764c39815db55e10b2d78732db4d6dd9d6039.zip |
headers: kref.h redux
* remove asm/atomic.h inclusion from kref.h -- not needed, linux/types.h
is enough for atomic_t
* remove linux/kref.h inclusion from files which do not need it.
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/linux/kref.h')
-rw-r--r-- | include/linux/kref.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/kref.h b/include/linux/kref.h index 0cef6badd6fb..b0cb0ebad9e6 100644 --- a/include/linux/kref.h +++ b/include/linux/kref.h @@ -16,7 +16,6 @@ #define _KREF_H_ #include <linux/types.h> -#include <asm/atomic.h> struct kref { atomic_t refcount; |