Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1592827

[PATCH] h8300: Fix build breakage caused by header file change

From Guenter Roeck <linux@roeck-us.net>
Newsgroups linux.kernel
Subject [PATCH] h8300: Fix build breakage caused by header file change
Date 2017-03-05 20:10 +0100
Message-ID <thJHz-4LQ-1@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


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

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

[PATCH] h8300: Fix build breakage caused by header file change Guenter Roeck <linux@roeck-us.net> - 2017-03-05 20:10 +0100
  [tip:core/urgent] h8300: Fix build breakage caused by header file  changes tip-bot for Guenter Roeck <tipbot@zytor.com> - 2017-03-07 12:50 +0100

csiph-web