h8300: Fix build breakage caused by header file change
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]>
Signed-off-by Guenter Roeck <[email protected]>
--- arch/h8300/kernel/ptrace_h.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/h8300/kernel/ptrace_h.c +1 -1
@@ -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
tip-bot for Guenter Roeck
merge bot[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’
Signed-off-by Guenter Roeck <[email protected]>
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 ...")
Signed-off-by 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
@@ -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 */