diff options
author | Ingo Molnar <mingo@kernel.org> | 2017-02-05 15:30:50 +0100 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2017-03-02 08:42:40 +0100 |
commit | 0881e7bd341e2158b314596bcf2059e88e68f04e (patch) | |
tree | 3c5231c7b301ae51da46b999493ae40f1c4f523a /drivers/oprofile | |
parent | 1777e4635507265ba53d8dc4cd248e7d7c306fa0 (diff) | |
download | linux-0881e7bd341e2158b314596bcf2059e88e68f04e.tar.gz linux-0881e7bd341e2158b314596bcf2059e88e68f04e.tar.bz2 linux-0881e7bd341e2158b314596bcf2059e88e68f04e.zip |
sched/headers: Prepare to move the get_task_struct()/put_task_struct() and related APIs from <linux/sched.h> to <linux/sched/task.h>
But first update usage sites with the new header dependency.
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>
Diffstat (limited to 'drivers/oprofile')
-rw-r--r-- | drivers/oprofile/buffer_sync.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/oprofile/buffer_sync.c b/drivers/oprofile/buffer_sync.c index eb0c35994b54..ac27f3d3fbb4 100644 --- a/drivers/oprofile/buffer_sync.c +++ b/drivers/oprofile/buffer_sync.c @@ -32,6 +32,7 @@ #include <linux/oprofile.h> #include <linux/sched.h> #include <linux/sched/mm.h> +#include <linux/sched/task.h> #include <linux/gfp.h> #include "oprofile_stats.h" |