Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

sched/headers: Prepare for new header dependencies before moving code to <linux/sched/wake_q.h>

We are going to split <linux/sched/wake_q.h> out of <linux/sched.h>, which
will have to be picked up from other headers and a couple of .c files.

Create a trivial placeholder <linux/sched/wake_q.h> file that just
maps to <linux/sched.h> to make this patch obviously correct and
bisectable.

Include the new header in the files that are going to need it.

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>
Signed-off-by: Ingo Molnar <mingo@kernel.org>

+16 -1
+6
include/linux/sched/wake_q.h
··· 1 + #ifndef _LINUX_SCHED_WAKE_Q_H 2 + #define _LINUX_SCHED_WAKE_Q_H 3 + 4 + #include <linux/sched.h> 5 + 6 + #endif /* _LINUX_SCHED_WAKE_Q_H */
+1
ipc/mqueue.c
··· 35 35 #include <linux/ipc_namespace.h> 36 36 #include <linux/user_namespace.h> 37 37 #include <linux/slab.h> 38 + #include <linux/sched/wake_q.h> 38 39 39 40 #include <net/sock.h> 40 41 #include "util.h"
+1
ipc/msg.c
··· 31 31 #include <linux/list.h> 32 32 #include <linux/security.h> 33 33 #include <linux/sched.h> 34 + #include <linux/sched/wake_q.h> 34 35 #include <linux/syscalls.h> 35 36 #include <linux/audit.h> 36 37 #include <linux/seq_file.h>
+1
ipc/sem.c
··· 82 82 #include <linux/rwsem.h> 83 83 #include <linux/nsproxy.h> 84 84 #include <linux/ipc_namespace.h> 85 + #include <linux/sched/wake_q.h> 85 86 86 87 #include <linux/uaccess.h> 87 88 #include "util.h"
+1
kernel/futex.c
··· 61 61 #include <linux/nsproxy.h> 62 62 #include <linux/ptrace.h> 63 63 #include <linux/sched/rt.h> 64 + #include <linux/sched/wake_q.h> 64 65 #include <linux/hugetlb.h> 65 66 #include <linux/freezer.h> 66 67 #include <linux/bootmem.h>
+1
kernel/locking/mutex.c
··· 21 21 #include <linux/ww_mutex.h> 22 22 #include <linux/sched.h> 23 23 #include <linux/sched/rt.h> 24 + #include <linux/sched/wake_q.h> 24 25 #include <linux/export.h> 25 26 #include <linux/spinlock.h> 26 27 #include <linux/interrupt.h>
+1
kernel/locking/rtmutex.c
··· 15 15 #include <linux/sched.h> 16 16 #include <linux/sched/rt.h> 17 17 #include <linux/sched/deadline.h> 18 + #include <linux/sched/wake_q.h> 18 19 #include <linux/timer.h> 19 20 20 21 #include "rtmutex_common.h"
+1
kernel/locking/rtmutex_common.h
··· 13 13 #define __KERNEL_RTMUTEX_COMMON_H 14 14 15 15 #include <linux/rtmutex.h> 16 + #include <linux/sched/wake_q.h> 16 17 17 18 /* 18 19 * This is the control structure for tasks blocked on a rt_mutex,
+2 -1
kernel/locking/rwsem-xadd.c
··· 10 10 * and Davidlohr Bueso <davidlohr@hp.com>. Based on mutexes. 11 11 */ 12 12 #include <linux/rwsem.h> 13 - #include <linux/sched.h> 14 13 #include <linux/init.h> 15 14 #include <linux/export.h> 15 + #include <linux/sched.h> 16 16 #include <linux/sched/rt.h> 17 + #include <linux/sched/wake_q.h> 17 18 #include <linux/osq_lock.h> 18 19 19 20 #include "rwsem.h"
+1
kernel/sched/sched.h
··· 3 3 #include <linux/sched/sysctl.h> 4 4 #include <linux/sched/topology.h> 5 5 #include <linux/sched/rt.h> 6 + #include <linux/sched/wake_q.h> 6 7 #include <linux/u64_stats_sync.h> 7 8 #include <linux/sched/deadline.h> 8 9 #include <linux/kernel_stat.h>