sched/headers: Prepare to move the task_lock()/unlock() APIs to <linux/sched/task.h>
authorIngo Molnar <mingo@kernel.org>
Mon, 6 Feb 2017 09:57:33 +0000 (10:57 +0100)
committerIngo Molnar <mingo@kernel.org>
Thu, 2 Mar 2017 07:42:38 +0000 (08:42 +0100)
But first update the code that uses these facilities with the
new header.

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>
18 files changed:
arch/mips/math-emu/dsemul.c
block/blk-ioc.c
block/ioprio.c
drivers/staging/android/ion/ion.c
drivers/staging/lustre/lustre/ptlrpc/sec.c
fs/proc/internal.h
fs/proc/proc_net.c
fs/proc_namespace.c
include/linux/cpuset.h
ipc/namespace.c
kernel/cgroup/cpuset.c
kernel/sched/debug.c
kernel/utsname.c
mm/mempolicy.c
mm/mmu_context.c
net/core/net_namespace.c
net/core/netclassid_cgroup.c
net/core/netprio_cgroup.c

index 6664908514b33495bc9975fac2a2035b420f6de9..b6bfd36253694fd24677cad694f9b1e050bd8f89 100644 (file)
@@ -1,6 +1,7 @@
 #include <linux/err.h>
 #include <linux/slab.h>
 #include <linux/mm_types.h>
+#include <linux/sched/task.h>
 
 #include <asm/branch.h>
 #include <asm/cacheflush.h>
index b12f9c87b4c31cd76310dc56f8ec95c23086c7e0..6bfa396753376166606249bfde62d1f87da0744b 100644 (file)
@@ -7,6 +7,7 @@
 #include <linux/bio.h>
 #include <linux/blkdev.h>
 #include <linux/slab.h>
+#include <linux/sched/task.h>
 
 #include "blk.h"
 
index 4b9ab8367ddaa5340b82036bdf3f94d0c8175208..0c47a00f92a852542dc11be132a30d44e9af055c 100644 (file)
@@ -27,6 +27,7 @@
 #include <linux/blkdev.h>
 #include <linux/capability.h>
 #include <linux/sched/user.h>
+#include <linux/sched/task.h>
 #include <linux/syscalls.h>
 #include <linux/security.h>
 #include <linux/pid_namespace.h>
index 2c3ffbcbd621a5d3236e25e72ee8dda2884b75c3..f45115fce4eb7c56534ceb277151782c1e9a23d8 100644 (file)
@@ -36,6 +36,7 @@
 #include <linux/debugfs.h>
 #include <linux/dma-buf.h>
 #include <linux/idr.h>
+#include <linux/sched/task.h>
 
 #include "ion.h"
 #include "ion_priv.h"
index 49f34fd655c3cb0320863f02a9a9202eb8e27c79..366f2ce20f5ebb7969dab0b753a96a483b9653f4 100644 (file)
@@ -40,6 +40,7 @@
 #include <linux/crypto.h>
 #include <linux/cred.h>
 #include <linux/key.h>
+#include <linux/sched/task.h>
 
 #include "../include/obd.h"
 #include "../include/obd_class.h"
index 550e8b183abece0fc1d03748a6df537ac533f5ef..26a6daf02185ceed80e8b3dea8689e8ec83cc198 100644 (file)
@@ -15,6 +15,7 @@
 #include <linux/atomic.h>
 #include <linux/binfmts.h>
 #include <linux/sched/coredump.h>
+#include <linux/sched/task.h>
 
 struct ctl_table_header;
 struct mempolicy;
index ffd72a6c6e0446972c6ae86cb1722482c40b2504..5cbc65d7a1e13897c8e7c3d825914d6f9ddc2c03 100644 (file)
@@ -17,6 +17,7 @@
 #include <linux/slab.h>
 #include <linux/init.h>
 #include <linux/sched.h>
+#include <linux/sched/task.h>
 #include <linux/module.h>
 #include <linux/bitops.h>
 #include <linux/mount.h>
index 3f1190d18991539087ddef41b922b458d16914b7..b5713fefb4c1b518d931cb26ffd6c917ad269f57 100644 (file)
@@ -10,6 +10,8 @@
 #include <linux/nsproxy.h>
 #include <linux/security.h>
 #include <linux/fs_struct.h>
+#include <linux/sched/task.h>
+
 #include "proc/internal.h" /* only for get_proc_task() in ->open() */
 
 #include "pnode.h"
index c608c39cb16141f88aa6e2b3e4ad45004407766e..611fce58d67039387215073978c02fda572c93fd 100644 (file)
@@ -10,6 +10,7 @@
 
 #include <linux/sched.h>
 #include <linux/sched/topology.h>
+#include <linux/sched/task.h>
 #include <linux/cpumask.h>
 #include <linux/nodemask.h>
 #include <linux/mm.h>
index 1f1d713ac19c4e3927c4aad4b3caf239561063a9..b4d80f9f7246732e7ca749db7a1f2e33e105531a 100644 (file)
@@ -14,6 +14,7 @@
 #include <linux/mount.h>
 #include <linux/user_namespace.h>
 #include <linux/proc_ns.h>
+#include <linux/sched/task.h>
 
 #include "util.h"
 
index a5c46db2855c4d9f061fd71fa87f63e697f4331a..0f41292be0fb7dea2800acae3550c0dea3903f45 100644 (file)
@@ -45,6 +45,7 @@
 #include <linux/rcupdate.h>
 #include <linux/sched.h>
 #include <linux/sched/mm.h>
+#include <linux/sched/task.h>
 #include <linux/seq_file.h>
 #include <linux/security.h>
 #include <linux/slab.h>
index e865d8bfb881eb736e720021807093c6a36ea424..38f019324f1aaf1e1b1775c7f11c5106ccc73fe4 100644 (file)
@@ -12,6 +12,7 @@
 
 #include <linux/proc_fs.h>
 #include <linux/sched/mm.h>
+#include <linux/sched/task.h>
 #include <linux/seq_file.h>
 #include <linux/kallsyms.h>
 #include <linux/utsname.h>
index 06585ad296ffc27764d7cca0f9a84f2a89b2c8d9..913fe4336d2b75a0d7cd6697d3bcdf5436b9c5ed 100644 (file)
@@ -17,6 +17,7 @@
 #include <linux/cred.h>
 #include <linux/user_namespace.h>
 #include <linux/proc_ns.h>
+#include <linux/sched/task.h>
 
 static struct ucounts *inc_uts_namespaces(struct user_namespace *ns)
 {
index 18e0105810dfd8ef517646fbed1a9a67f139d23a..75b2745bac4145933a5b969e7b8b2a36fc73d45d 100644 (file)
@@ -75,6 +75,7 @@
 #include <linux/sched.h>
 #include <linux/sched/mm.h>
 #include <linux/sched/numa_balancing.h>
+#include <linux/sched/task.h>
 #include <linux/nodemask.h>
 #include <linux/cpuset.h>
 #include <linux/slab.h>
index 8888b124a386c5307fbb63a5380de4a8195e0919..3e612ae748e96692522cf7d3c7c615345974fa6d 100644 (file)
@@ -6,6 +6,7 @@
 #include <linux/mm.h>
 #include <linux/sched.h>
 #include <linux/sched/mm.h>
+#include <linux/sched/task.h>
 #include <linux/mmu_context.h>
 #include <linux/export.h>
 
index 3c4bbec3971309d545f8c72ac90552c6d68298e9..652468ff65b79d5c9d45ece0d3289de480bbc603 100644 (file)
@@ -16,6 +16,8 @@
 #include <linux/export.h>
 #include <linux/user_namespace.h>
 #include <linux/net_namespace.h>
+#include <linux/sched/task.h>
+
 #include <net/sock.h>
 #include <net/netlink.h>
 #include <net/net_namespace.h>
index 11fce17274f6ce14e22ded0e2e9c046492c5f895..6ae56037bb1336d9cb6b6fc36043a203f3978202 100644 (file)
@@ -12,6 +12,8 @@
 #include <linux/slab.h>
 #include <linux/cgroup.h>
 #include <linux/fdtable.h>
+#include <linux/sched/task.h>
+
 #include <net/cls_cgroup.h>
 #include <net/sock.h>
 
index 756637dc7a5769ea7041e3c2a67221d79668f751..0f9275ee55958156a6cbac3f0d2b1ff54c3c89a5 100644 (file)
@@ -20,6 +20,8 @@
 #include <linux/cgroup.h>
 #include <linux/rcupdate.h>
 #include <linux/atomic.h>
+#include <linux/sched/task.h>
+
 #include <net/rtnetlink.h>
 #include <net/pkt_cls.h>
 #include <net/sock.h>