sched/headers: Prepare for the removal of <linux/rtmutex.h> from <linux/sched.h>
authorIngo Molnar <mingo@kernel.org>
Fri, 3 Feb 2017 09:08:30 +0000 (10:08 +0100)
committerIngo Molnar <mingo@kernel.org>
Thu, 2 Mar 2017 07:42:32 +0000 (08:42 +0100)
Fix up missing #includes in other places that rely on sched.h doing that for them.

Acked-by: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
include/linux/i2c.h
kernel/fork.c
kernel/locking/locktorture.c
kernel/rcu/tree.h

index bed8fbb45f31fb1b8efdf68c319b33fe8b55bab8..6b183521c61697aa3af56082b830247f960d06fb 100644 (file)
@@ -30,6 +30,7 @@
 #include <linux/device.h>      /* for struct device */
 #include <linux/sched.h>       /* for completion */
 #include <linux/mutex.h>
+#include <linux/rtmutex.h>
 #include <linux/irqdomain.h>           /* for Host Notify IRQ */
 #include <linux/of.h>          /* for struct device_node */
 #include <linux/swab.h>                /* for swab16 */
index 08d6c091ac7cf1350ed7f3f0b3c1eb7c87f7af3b..8fbe8bcd1e200a43bdba7a151bd38618de2c57d8 100644 (file)
@@ -17,6 +17,7 @@
 #include <linux/sched/coredump.h>
 #include <linux/sched/user.h>
 #include <linux/sched/numa_balancing.h>
+#include <linux/rtmutex.h>
 #include <linux/init.h>
 #include <linux/unistd.h>
 #include <linux/module.h>
index 5ea0a8969ee24fc7fb73dff01db54391da6d1aa9..f24582d4dad37bd812f77aa92930cc3c68227497 100644 (file)
@@ -33,6 +33,7 @@
 #include <linux/interrupt.h>
 #include <linux/sched.h>
 #include <uapi/linux/sched/types.h>
+#include <linux/rtmutex.h>
 #include <linux/atomic.h>
 #include <linux/moduleparam.h>
 #include <linux/delay.h>
index b60f2b6caa1443495f0609eae89b8762a3c89359..ec62a05bfdb3c81b9a82593de2aeefffb96bf300 100644 (file)
@@ -24,6 +24,7 @@
 
 #include <linux/cache.h>
 #include <linux/spinlock.h>
+#include <linux/rtmutex.h>
 #include <linux/threads.h>
 #include <linux/cpumask.h>
 #include <linux/seqlock.h>