Commit 4cf421e5 authored by Ingo Molnar's avatar Ingo Molnar

sched/headers: Prepare for the removal of <asm/ptrace.h> from <linux/sched.h>

Fix up missing #includes in other places that rely on sched.h doing that for them.
Acked-by: default avatarLinus 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: default avatarIngo Molnar <mingo@kernel.org>
parent 5b825c3a
...@@ -2,6 +2,7 @@ ...@@ -2,6 +2,7 @@
#include <linux/types.h> #include <linux/types.h>
#include <linux/kernel.h> #include <linux/kernel.h>
#include <linux/sched.h> #include <linux/sched.h>
#include <asm/ptrace.h>
#include <linux/uaccess.h> #include <linux/uaccess.h>
......
...@@ -3,6 +3,7 @@ ...@@ -3,6 +3,7 @@
#include <asm/processor.h> #include <asm/processor.h>
#include <asm/fpu.h> #include <asm/fpu.h>
#include <asm/traps.h> #include <asm/traps.h>
#include <asm/ptrace.h>
int init_fpu(struct task_struct *tsk) int init_fpu(struct task_struct *tsk)
{ {
......
...@@ -5,6 +5,7 @@ ...@@ -5,6 +5,7 @@
#include <linux/export.h> #include <linux/export.h>
#include <linux/stackprotector.h> #include <linux/stackprotector.h>
#include <asm/fpu.h> #include <asm/fpu.h>
#include <asm/ptrace.h>
struct kmem_cache *task_xstate_cachep = NULL; struct kmem_cache *task_xstate_cachep = NULL;
unsigned int xstate_size; unsigned int xstate_size;
......
...@@ -23,6 +23,8 @@ ...@@ -23,6 +23,8 @@
#include <linux/oprofile.h> #include <linux/oprofile.h>
#include <linux/errno.h> #include <linux/errno.h>
#include <asm/ptrace.h>
#include "event_buffer.h" #include "event_buffer.h"
#include "cpu_buffer.h" #include "cpu_buffer.h"
#include "buffer_sync.h" #include "buffer_sync.h"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment