Re: Patch "LoongArch: signal.c: add header file to fix build error" has been added to the 6.7-stable tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi, Sasha,

I think this patch shouldn't be backported, because rseq.h only exists in 68+.

Huacai

On Sun, Jan 21, 2024 at 8:24 AM Sasha Levin <sashal@xxxxxxxxxx> wrote:
>
> This is a note to let you know that I've just added the patch titled
>
>     LoongArch: signal.c: add header file to fix build error
>
> to the 6.7-stable tree which can be found at:
>     http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary
>
> The filename of the patch is:
>      loongarch-signal.c-add-header-file-to-fix-build-erro.patch
> and it can be found in the queue-6.7 subdirectory.
>
> If you, or anyone else, feels it should not be added to the stable tree,
> please let <stable@xxxxxxxxxxxxxxx> know about it.
>
>
>
> commit bfd5cedadc2427268ee7b39829c347c5e4418947
> Author: Randy Dunlap <rdunlap@xxxxxxxxxxxxx>
> Date:   Thu Dec 21 20:58:25 2023 -0800
>
>     LoongArch: signal.c: add header file to fix build error
>
>     [ Upstream commit c968b99f868dd82ebcafec9788ce18334da177b6 ]
>
>     loongarch's signal.c uses rseq_signal_deliver() so it should
>     pull in the appropriate header to prevent a build error:
>
>     ../arch/loongarch/kernel/signal.c: In function 'handle_signal':
>     ../arch/loongarch/kernel/signal.c:1034:9: error: implicit declaration of function 'rseq_signal_deliver' [-Werror=implicit-function-declaration]
>      1034 |         rseq_signal_deliver(ksig, regs);
>           |         ^~~~~~~~~~~~~~~~~~~
>
>     Fixes: b74baf4ad05b ("LoongArch: Add signal handling support")
>     Signed-off-by: Randy Dunlap <rdunlap@xxxxxxxxxxxxx>
>     Cc: Huacai Chen <chenhuacai@xxxxxxxxxx>
>     Cc: WANG Xuerui <kernel@xxxxxxxxxx>
>     Cc: loongarch@xxxxxxxxxxxxxxx
>     Cc: Kent Overstreet <kent.overstreet@xxxxxxxxx>
>     Signed-off-by: Kent Overstreet <kent.overstreet@xxxxxxxxx>
>     Signed-off-by: Sasha Levin <sashal@xxxxxxxxxx>
>
> diff --git a/arch/loongarch/kernel/signal.c b/arch/loongarch/kernel/signal.c
> index 4a3686d13349..7a555b600171 100644
> --- a/arch/loongarch/kernel/signal.c
> +++ b/arch/loongarch/kernel/signal.c
> @@ -15,6 +15,7 @@
>  #include <linux/context_tracking.h>
>  #include <linux/entry-common.h>
>  #include <linux/irqflags.h>
> +#include <linux/rseq.h>
>  #include <linux/sched.h>
>  #include <linux/mm.h>
>  #include <linux/personality.h>





[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux