mirror of
https://github.com/torvalds/linux
synced 2024-11-05 18:23:50 +00:00
sched/headers: Prepare to move the task_lock()/unlock() APIs to <linux/sched/task.h>
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>
This commit is contained in:
parent
b2d0910310
commit
f719ff9bce
18 changed files with 22 additions and 0 deletions
|
@ -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>
|
||||
|
|
|
@ -7,6 +7,7 @@
|
|||
#include <linux/bio.h>
|
||||
#include <linux/blkdev.h>
|
||||
#include <linux/slab.h>
|
||||
#include <linux/sched/task.h>
|
||||
|
||||
#include "blk.h"
|
||||
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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"
|
||||
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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)
|
||||
{
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue