]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commitdiff
sched/headers: Remove <asm/ptrace.h> from <linux/sched.h>
authorIngo Molnar <mingo@kernel.org>
Fri, 3 Feb 2017 09:03:42 +0000 (10:03 +0100)
committerIngo Molnar <mingo@kernel.org>
Fri, 3 Mar 2017 00:45:33 +0000 (01:45 +0100)
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>
arch/sh/include/asm/fpu.h
arch/sh/mm/extable_32.c
include/linux/sched.h

index 09fc2bc8a790af4b7d74a31325d52985851cddec..50921c7cc3f024a10bbc1b77d4af9e6bc834c493 100644 (file)
@@ -3,6 +3,8 @@
 
 #ifndef __ASSEMBLY__
 
+#include <asm/ptrace.h>
+
 struct task_struct;
 
 #ifdef CONFIG_SH_FPU
index 24a75d315dcbba0f2a7cd6cf0690b428c1f2c2d4..940e871bc8169cba5e119d86579078f4e3ec6294 100644 (file)
@@ -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;
index 1be69735cef31936b66ebb5fd3a8f5068c6fd74e..9dfa9c113570d0c6b29505ae7f60101974c14491 100644 (file)
@@ -8,7 +8,6 @@
 #include <linux/mutex.h>
 #include <linux/plist.h>
 #include <linux/mm_types_task.h>
-#include <asm/ptrace.h>
 
 #include <linux/sem.h>
 #include <linux/shm.h>