]> asedeno.scripts.mit.edu Git - linux.git/commit
mutex: Drop linkage.h from mutex.h
authorRandy Dunlap <rdunlap@infradead.org>
Sun, 25 Feb 2018 05:22:12 +0000 (21:22 -0800)
committerThomas Gleixner <tglx@linutronix.de>
Sun, 25 Feb 2018 14:00:46 +0000 (15:00 +0100)
commit6ce5ae7977c89f2a09092954396a66c90e8213f2
tree3709a377794781e2fb939b4dd4013c3fde8faec1
parentbf28ae5627442355dbb8d99238da4fb95c2dd4ec
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
include/linux/mutex.h