mirror of
https://github.com/lkl/linux.git
synced 2025-12-19 16:13:19 +09:00
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>
This commit is contained in:
committed by
Linus Torvalds
parent
3b383767c4
commit
1d1764c398
@@ -78,8 +78,6 @@ struct ipc_kludge {
|
||||
#define IPCCALL(version,op) ((version)<<16 | (op))
|
||||
|
||||
#ifdef __KERNEL__
|
||||
|
||||
#include <linux/kref.h>
|
||||
#include <linux/spinlock.h>
|
||||
|
||||
#define IPCMNI 32768 /* <= MAX_INT limit for ipc arrays (including sysctl changes) */
|
||||
|
||||
Reference in New Issue
Block a user