diff options
author | Randy Dunlap <rdunlap@infradead.org> | 2018-02-25 00:22:12 -0500 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2018-02-25 09:00:46 -0500 |
commit | 6ce5ae7977c89f2a09092954396a66c90e8213f2 (patch) | |
tree | 3709a377794781e2fb939b4dd4013c3fde8faec1 | |
parent | bf28ae5627442355dbb8d99238da4fb95c2dd4ec (diff) |
mutex: Drop linkage.h from mutex.h
<linux/mutex.h> does not use nor need <linux/linkage.h>, so drop that
one header file from mutex.h.
<linux/mutex.h> is currently #included in around 1250 C source files
(oops, I didn't count other header files that #include it), making it
the 27th most-used header file.
Build tested on i386 and x86_64 * (allnoconfig, tiny.config, defconfig,
allyesconfig, and allmodconfig) and x64_64 allmodconfig + SMP=disabled.
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lkml.kernel.org/r/582b3892-4e4c-06b2-a368-5c2d439de7fc@infradead.org
-rw-r--r-- | include/linux/mutex.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/mutex.h b/include/linux/mutex.h index f25c13423bd4..9b7fe56692bd 100644 --- a/include/linux/mutex.h +++ b/include/linux/mutex.h | |||
@@ -14,7 +14,6 @@ | |||
14 | #include <asm/current.h> | 14 | #include <asm/current.h> |
15 | #include <linux/list.h> | 15 | #include <linux/list.h> |
16 | #include <linux/spinlock_types.h> | 16 | #include <linux/spinlock_types.h> |
17 | #include <linux/linkage.h> | ||
18 | #include <linux/lockdep.h> | 17 | #include <linux/lockdep.h> |
19 | #include <linux/atomic.h> | 18 | #include <linux/atomic.h> |
20 | #include <asm/processor.h> | 19 | #include <asm/processor.h> |