Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

+5
+1
arch/alpha/math-emu/math.c
··· 2 2 #include <linux/types.h> 3 3 #include <linux/kernel.h> 4 4 #include <linux/sched.h> 5 + #include <asm/ptrace.h> 5 6 6 7 #include <linux/uaccess.h> 7 8
+1
arch/sh/kernel/cpu/fpu.c
··· 3 3 #include <asm/processor.h> 4 4 #include <asm/fpu.h> 5 5 #include <asm/traps.h> 6 + #include <asm/ptrace.h> 6 7 7 8 int init_fpu(struct task_struct *tsk) 8 9 {
+1
arch/sh/kernel/process.c
··· 5 5 #include <linux/export.h> 6 6 #include <linux/stackprotector.h> 7 7 #include <asm/fpu.h> 8 + #include <asm/ptrace.h> 8 9 9 10 struct kmem_cache *task_xstate_cachep = NULL; 10 11 unsigned int xstate_size;
+2
drivers/oprofile/cpu_buffer.c
··· 23 23 #include <linux/oprofile.h> 24 24 #include <linux/errno.h> 25 25 26 + #include <asm/ptrace.h> 27 + 26 28 #include "event_buffer.h" 27 29 #include "cpu_buffer.h" 28 30 #include "buffer_sync.h"