linux-next: build failure after merge of the header_cleanup tree

Message ID 20231219152545.54ac44cd@canb.auug.org.au
State New
Headers
Series linux-next: build failure after merge of the header_cleanup tree |

Commit Message

Stephen Rothwell Dec. 19, 2023, 4:25 a.m. UTC
  Hi all,

After merging the header_cleanup tree, today's linux-next build (s390
defconfig) failed like this:

arch/s390/kernel/signal.c: In function 'arch_do_signal_or_restart':
arch/s390/kernel/signal.c:491:17: error: implicit declaration of function 'rseq_signal_deliver' [-Werror=implicit-function-declaration]
  491 |                 rseq_signal_deliver(&ksig, regs);
      |                 ^~~~~~~~~~~~~~~~~~~

Presumably caused by commit

  cd1146fc0ad3 ("rseq: Split out rseq.h from sched.h")

I have applied the following patch for today:

From: Stephen Rothwell <sfr@canb.auug.org.au>
Date: Tue, 19 Dec 2023 15:19:02 +1100
Subject: [PATCH] fixup for s390 and "rseq: Split out rseq.h from sched.h"

Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
---
 arch/s390/kernel/signal.c | 1 +
 1 file changed, 1 insertion(+)
  

Comments

Kent Overstreet Dec. 19, 2023, 4:59 a.m. UTC | #1
On Tue, Dec 19, 2023 at 03:25:45PM +1100, Stephen Rothwell wrote:
> Hi all,
> 
> After merging the header_cleanup tree, today's linux-next build (s390
> defconfig) failed like this:
> 
> arch/s390/kernel/signal.c: In function 'arch_do_signal_or_restart':
> arch/s390/kernel/signal.c:491:17: error: implicit declaration of function 'rseq_signal_deliver' [-Werror=implicit-function-declaration]
>   491 |                 rseq_signal_deliver(&ksig, regs);
>       |                 ^~~~~~~~~~~~~~~~~~~
> 
> Presumably caused by commit
> 
>   cd1146fc0ad3 ("rseq: Split out rseq.h from sched.h")
> 
> I have applied the following patch for today:

I've applied the same fixup to my tree.
  

Patch

diff --git a/arch/s390/kernel/signal.c b/arch/s390/kernel/signal.c
index 27bcc43fe1b7..43e9661cd715 100644
--- a/arch/s390/kernel/signal.c
+++ b/arch/s390/kernel/signal.c
@@ -12,6 +12,7 @@ 
 
 #include <linux/sched.h>
 #include <linux/sched/task_stack.h>
+#include <linux/rseq.h>
 #include <linux/mm.h>
 #include <linux/smp.h>
 #include <linux/kernel.h>