mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] h8300: Fix build breakage caused by header file change
@ 2017-03-05 18:27 Guenter Roeck
  2017-03-07  9:06 ` [tip:core/urgent] h8300: Fix build breakage caused by header file changes tip-bot for Guenter Roeck
  0 siblings, 1 reply; 2+ messages in thread
From: Guenter Roeck @ 2017-03-05 18:27 UTC (permalink / raw)
  To: Yoshinori Sato; +Cc: uclinux-h8-devel, linux-kernel, Guenter Roeck, Ingo Molnar

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [tip:core/urgent] h8300: Fix build breakage caused by header file changes
  2017-03-05 18:27 [PATCH] h8300: Fix build breakage caused by header file change Guenter Roeck
@ 2017-03-07  9:06 ` tip-bot for Guenter Roeck
  0 siblings, 0 replies; 2+ messages in thread
From: tip-bot for Guenter Roeck @ 2017-03-07  9:06 UTC (permalink / raw)
  To: linux-tip-commits
  Cc: ysato, linux-kernel, linux, mingo, peterz, torvalds, hpa, tglx

Commit-ID:  80aa1a54f054a1c71cc88e0cad6cfa0d20a10f23
Gitweb:     http://git.kernel.org/tip/80aa1a54f054a1c71cc88e0cad6cfa0d20a10f23
Author:     Guenter Roeck <linux@roeck-us.net>
AuthorDate: Sun, 5 Mar 2017 10:27:14 -0800
Committer:  Ingo Molnar <mingo@kernel.org>
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@roeck-us.net>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Yoshinori Sato <ysato@users.sourceforge.jp>
Cc: uclinux-h8-devel@lists.sourceforge.jp
Fixes: c3edc4010e9d ("sched/headers: Move task_struct::signal and ...")
Link: http://lkml.kernel.org/r/1488738434-3504-1-git-send-email-linux@roeck-us.net
Signed-off-by: Ingo Molnar <mingo@kernel.org>
---
 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 */

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-03-07 11:46 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-03-05 18:27 [PATCH] h8300: Fix build breakage caused by header file change Guenter Roeck
2017-03-07  9:06 ` [tip:core/urgent] h8300: Fix build breakage caused by header file changes tip-bot for Guenter Roeck

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®