[tip:core/urgent] h8300: Fix build breakage caused by header file changes

From: tip-bot for Guenter Roeck
Date: Tue Mar 07 2017 - 06:49:05 EST


Commit-ID: 80aa1a54f054a1c71cc88e0cad6cfa0d20a10f23
Gitweb: http://git.kernel.org/tip/80aa1a54f054a1c71cc88e0cad6cfa0d20a10f23
Author: Guenter Roeck <linux@xxxxxxxxxxxx>
AuthorDate: Sun, 5 Mar 2017 10:27:14 -0800
Committer: Ingo Molnar <mingo@xxxxxxxxxx>
CommitDate: Tue, 7 Mar 2017 08:35:49 +0100

h8300: Fix build breakage caused by header file changes

Fix the following h8300 build failures:

arch/h8300/kernel/ptrace_h.c: In function âtrace_trapâ:
arch/h8300/kernel/ptrace_h.c:253:3: error: implicit declaration of function âforce_sigâ

Signed-off-by: Guenter Roeck <linux@xxxxxxxxxxxx>
Cc: Linus Torvalds <torvalds@xxxxxxxxxxxxxxxxxxxx>
Cc: Peter Zijlstra <peterz@xxxxxxxxxxxxx>
Cc: Thomas Gleixner <tglx@xxxxxxxxxxxxx>
Cc: Yoshinori Sato <ysato@xxxxxxxxxxxxxxxxxxxx>
Cc: uclinux-h8-devel@xxxxxxxxxxxxxxxxxxxx
Fixes: c3edc4010e9d ("sched/headers: Move task_struct::signal and ...")
Link: http://lkml.kernel.org/r/1488738434-3504-1-git-send-email-linux@xxxxxxxxxxxx
Signed-off-by: Ingo Molnar <mingo@xxxxxxxxxx>
---
arch/h8300/kernel/ptrace_h.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/h8300/kernel/ptrace_h.c b/arch/h8300/kernel/ptrace_h.c
index fe3b567..f5ff3b7 100644
--- a/arch/h8300/kernel/ptrace_h.c
+++ b/arch/h8300/kernel/ptrace_h.c
@@ -9,7 +9,7 @@
*/

#include <linux/linkage.h>
-#include <linux/sched.h>
+#include <linux/sched/signal.h>
#include <asm/ptrace.h>

#define BREAKINST 0x5730 /* trapa #3 */