diff options
author | Ingo Molnar <mingo@kernel.org> | 2017-02-03 10:03:42 +0100 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2017-03-03 01:45:33 +0100 |
commit | f780d89a0e820a529cf91fb78b52565e1b37b774 (patch) | |
tree | 64ba9f621ec52aa99a0ec0a9a9145063ce48533f /arch/sh | |
parent | sched/headers: Remove <linux/cred.h> inclusion from <linux/sched.h> (diff) | |
download | linux-f780d89a0e820a529cf91fb78b52565e1b37b774.tar.xz linux-f780d89a0e820a529cf91fb78b52565e1b37b774.zip |
sched/headers: Remove <asm/ptrace.h> from <linux/sched.h>
This reduces header dependencies.
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>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'arch/sh')
-rw-r--r-- | arch/sh/include/asm/fpu.h | 2 | ||||
-rw-r--r-- | arch/sh/mm/extable_32.c | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/arch/sh/include/asm/fpu.h b/arch/sh/include/asm/fpu.h index 09fc2bc8a790..50921c7cc3f0 100644 --- a/arch/sh/include/asm/fpu.h +++ b/arch/sh/include/asm/fpu.h @@ -3,6 +3,8 @@ #ifndef __ASSEMBLY__ +#include <asm/ptrace.h> + struct task_struct; #ifdef CONFIG_SH_FPU diff --git a/arch/sh/mm/extable_32.c b/arch/sh/mm/extable_32.c index 24a75d315dcb..940e871bc816 100644 --- a/arch/sh/mm/extable_32.c +++ b/arch/sh/mm/extable_32.c @@ -7,6 +7,8 @@ #include <linux/extable.h> #include <linux/uaccess.h> +#include <asm/ptrace.h> + int fixup_exception(struct pt_regs *regs) { const struct exception_table_entry *fixup; |