RISC-V: Fix do_notify_resume / do_work_pending prototype
authorHeiko Stuebner <heiko.stuebner@vrull.eu>
Wed, 18 Jan 2023 14:22:52 +0000 (15:22 +0100)
committerPalmer Dabbelt <palmer@rivosinc.com>
Wed, 25 Jan 2023 06:13:15 +0000 (22:13 -0800)
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@vrull.eu>
Reviewed-by: Andrew Jones <ajones@ventanamicro.com>
Reviewed-by: Conor Dooley <conor.dooley@microchip.com>
Link: https://lore.kernel.org/r/20230118142252.337103-1-heiko@sntech.de
Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
arch/riscv/include/asm/signal.h

index 532c29ef037698dc2e04c4faf4ad3574d2d02429..956ae0a01bad118eae6f8a3c94af6ca9119a1fa4 100644 (file)
@@ -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);
 
 #endif