Skip to content

Commit

Permalink
RISC-V: Fix do_notify_resume / do_work_pending prototype
Browse files Browse the repository at this point in the history
Commit b0f4c74 ("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: b0f4c74 ("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>
  • Loading branch information
Heiko Stuebner authored and Palmer Dabbelt committed Jan 25, 2023
1 parent 9d5567c commit 285b6a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/riscv/include/asm/signal.h
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 285b6a1

Please sign in to comment.