lkml.org 
[lkml]   [2017]   [Mar]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH] h8300: Fix build breakage caused by header file change
Date
Since commit c3edc4010e9d ("sched/headers: Move task_struct::signal and
task_struct:: sighand types and accessors into <linux/sched/signal.h>"),
h8300 builds fail as follows.

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’

Fixes: c3edc4010e9d ("sched/headers: Move task_struct::signal and ...")
Cc: Ingo Molnar <mingo@kernel.org>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
---
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 fe3b5673baba..f5ff3b794c85 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 */
--
2.7.4
\
 
 \ /
  Last update: 2017-03-05 20:07    [W:0.022 / U:2.688 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site