diff options
author | Ingo Molnar <mingo@kernel.org> | 2017-02-03 04:03:42 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2017-03-02 02:42:31 -0500 |
commit | 4cf421e55d69016989548e0fb8585e69f54bd283 (patch) | |
tree | a059e7b730d7eb3e863fd2dea9a1e509ff66dfb9 | |
parent | 5b825c3af1d8a0af4deb4a5eb349d0d0050c62e5 (diff) |
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: 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>
-rw-r--r-- | arch/alpha/math-emu/math.c | 1 | ||||
-rw-r--r-- | arch/sh/kernel/cpu/fpu.c | 1 | ||||
-rw-r--r-- | arch/sh/kernel/process.c | 1 | ||||
-rw-r--r-- | drivers/oprofile/cpu_buffer.c | 2 |
4 files changed, 5 insertions, 0 deletions
diff --git a/arch/alpha/math-emu/math.c b/arch/alpha/math-emu/math.c index fa5ae0ad8983..d17d705f6545 100644 --- a/arch/alpha/math-emu/math.c +++ b/arch/alpha/math-emu/math.c | |||
@@ -2,6 +2,7 @@ | |||
2 | #include <linux/types.h> | 2 | #include <linux/types.h> |
3 | #include <linux/kernel.h> | 3 | #include <linux/kernel.h> |
4 | #include <linux/sched.h> | 4 | #include <linux/sched.h> |
5 | #include <asm/ptrace.h> | ||
5 | 6 | ||
6 | #include <linux/uaccess.h> | 7 | #include <linux/uaccess.h> |
7 | 8 | ||
diff --git a/arch/sh/kernel/cpu/fpu.c b/arch/sh/kernel/cpu/fpu.c index 4e332244ea75..4d4737d099c6 100644 --- a/arch/sh/kernel/cpu/fpu.c +++ b/arch/sh/kernel/cpu/fpu.c | |||
@@ -3,6 +3,7 @@ | |||
3 | #include <asm/processor.h> | 3 | #include <asm/processor.h> |
4 | #include <asm/fpu.h> | 4 | #include <asm/fpu.h> |
5 | #include <asm/traps.h> | 5 | #include <asm/traps.h> |
6 | #include <asm/ptrace.h> | ||
6 | 7 | ||
7 | int init_fpu(struct task_struct *tsk) | 8 | int init_fpu(struct task_struct *tsk) |
8 | { | 9 | { |
diff --git a/arch/sh/kernel/process.c b/arch/sh/kernel/process.c index 53bc6c4c84ec..30bff33e810e 100644 --- a/arch/sh/kernel/process.c +++ b/arch/sh/kernel/process.c | |||
@@ -5,6 +5,7 @@ | |||
5 | #include <linux/export.h> | 5 | #include <linux/export.h> |
6 | #include <linux/stackprotector.h> | 6 | #include <linux/stackprotector.h> |
7 | #include <asm/fpu.h> | 7 | #include <asm/fpu.h> |
8 | #include <asm/ptrace.h> | ||
8 | 9 | ||
9 | struct kmem_cache *task_xstate_cachep = NULL; | 10 | struct kmem_cache *task_xstate_cachep = NULL; |
10 | unsigned int xstate_size; | 11 | unsigned int xstate_size; |
diff --git a/drivers/oprofile/cpu_buffer.c b/drivers/oprofile/cpu_buffer.c index 0581461c3a67..eda2633a393d 100644 --- a/drivers/oprofile/cpu_buffer.c +++ b/drivers/oprofile/cpu_buffer.c | |||
@@ -23,6 +23,8 @@ | |||
23 | #include <linux/oprofile.h> | 23 | #include <linux/oprofile.h> |
24 | #include <linux/errno.h> | 24 | #include <linux/errno.h> |
25 | 25 | ||
26 | #include <asm/ptrace.h> | ||
27 | |||
26 | #include "event_buffer.h" | 28 | #include "event_buffer.h" |
27 | #include "cpu_buffer.h" | 29 | #include "cpu_buffer.h" |
28 | #include "buffer_sync.h" | 30 | #include "buffer_sync.h" |