Skip to contentSkip to conversation

h8300: Fix build breakage caused by header file change

PATCH Superseded Guenter Roeck 2 participants 2 messages Mar 5, 2017 – Mar 7, 2017 ptrace support

v1 of 3 Superseded Latest is v3 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 h8300: Fix build breakage caused by header file change

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 <[email protected]>
---
 arch/h8300/kernel/ptrace_h.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/h8300/kernel/ptrace_h.c +1 -1
index fe3b5673baba..f5ff3b794c85 100644
@@ -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 */
Signature · 1 line
2.7.4
#1 lore raw

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

h8300: Fix build breakage caused by header file changes
Commit-ID:  80aa1a54f054a1c71cc88e0cad6cfa0d20a10f23
Gitweb:     http://git.kernel.org/tip/80aa1a54f054a1c71cc88e0cad6cfa0d20a10f23
Author:     Guenter Roeck <[email protected]>
AuthorDate: Sun, 5 Mar 2017 10:27:14 -0800
Committer:  Ingo Molnar <[email protected]>
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’

Cc Linus Torvalds <[email protected]>
Cc Peter Zijlstra <[email protected]>
Cc Thomas Gleixner <[email protected]>
Cc Yoshinori Sato <[email protected]>
Fixes c3edc4010e9d ("sched/headers: Move task_struct::signal and ...")
---
 arch/h8300/kernel/ptrace_h.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/h8300/kernel/ptrace_h.c +1 -1
index fe3b567..f5ff3b7 100644
@@ -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 */