[PATCH] RISC-V: Fix do_notify_resume / do_work_pending prototype

Conor Dooley conor at kernel.org
Wed Jan 18 07:40:52 PST 2023


On Wed, Jan 18, 2023 at 03:22:52PM +0100, Heiko Stuebner wrote:
> From: Heiko Stuebner <heiko.stuebner at vrull.eu>
> 
> Commit b0f4c74eadbf ("RISC-V: Fix unannoted hardirqs-on in return to
> userspace slow-path") renamed the do_notify_resume function to
> do_work_pending but did not change the prototype in signal.h
> Do that now, as the original function does not exist anymore.
> 
> Fixes: b0f4c74eadbf ("RISC-V: Fix unannoted hardirqs-on in return to userspace slow-path")
> Signed-off-by: Heiko Stuebner <heiko.stuebner at vrull.eu>
> ---
>  arch/riscv/include/asm/signal.h | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/arch/riscv/include/asm/signal.h b/arch/riscv/include/asm/signal.h
> index 532c29ef0376..956ae0a01bad 100644
> --- a/arch/riscv/include/asm/signal.h
> +++ b/arch/riscv/include/asm/signal.h
> @@ -7,6 +7,6 @@
>  #include <uapi/asm/ptrace.h>
>  
>  asmlinkage __visible
> -void do_notify_resume(struct pt_regs *regs, unsigned long thread_info_flags);
> +void do_work_pending(struct pt_regs *regs, unsigned long thread_info_flags);

Is that an auto-builder blind spot as it gets jumped to from asm?
Reviewed-by: Conor Dooley <conor.dooley at microchip.com>

Thanks,
Conor.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-riscv/attachments/20230118/2e3fd5ec/attachment.sig>


More information about the linux-riscv mailing list