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


Groups > linux.kernel > #1592827 > unrolled thread

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

Started byGuenter Roeck <linux@roeck-us.net>
First post2017-03-05 20:10 +0100
Last post2017-03-07 12:50 +0100
Articles 2 — 2 participants

Back to article view | Back to linux.kernel


Contents

  [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

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

FromGuenter Roeck <linux@roeck-us.net>
Date2017-03-05 20:10 +0100
Subject[PATCH] h8300: Fix build breakage caused by header file change
Message-ID<thJHz-4LQ-1@gated-at.bofh.it>
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

[toc] | [next] | [standalone]


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

Fromtip-bot for Guenter Roeck <tipbot@zytor.com>
Date2017-03-07 12:50 +0100
Subject[tip:core/urgent] h8300: Fix build breakage caused by header file changes
Message-ID<tilMR-6W3-1@gated-at.bofh.it>
In reply to#1592827
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 */

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web