diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2018-06-27 12:56:23 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2018-06-27 12:56:23 -0400 |
commit | 59ec39fe38264d9f61d9ea2dbe32cb681069b54d (patch) | |
tree | ec285f8fffa5d9d9a01144fc5582e535900a324c | |
parent | f8a78bdb5116a703e583b995b2d2211d5db634df (diff) | |
parent | 662d855c66c0a7400f9117b6ac02047942cd1d22 (diff) |
Merge tag 'mips_fixes_4.18_2' of git://git.kernel.org/pub/scm/linux/kernel/git/mips/linux
Pull MIPS build fix from Paul Burton:
"A single build fix for 4.18:
Adjust rseq_signal_deliver() & rseq_handle_notify_resume() calls to
add the ksig argument introduced in v4.18-rc2, around the same time as
the unadjusted MIPS rseq support"
* tag 'mips_fixes_4.18_2' of git://git.kernel.org/pub/scm/linux/kernel/git/mips/linux:
MIPS: Add ksig argument to rseq_{signal_deliver,handle_notify_resume}
-rw-r--r-- | arch/mips/kernel/signal.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/mips/kernel/signal.c b/arch/mips/kernel/signal.c index 00f2535d2226..0a9cfe7a0372 100644 --- a/arch/mips/kernel/signal.c +++ b/arch/mips/kernel/signal.c | |||
@@ -801,7 +801,7 @@ static void handle_signal(struct ksignal *ksig, struct pt_regs *regs) | |||
801 | regs->regs[0] = 0; /* Don't deal with this again. */ | 801 | regs->regs[0] = 0; /* Don't deal with this again. */ |
802 | } | 802 | } |
803 | 803 | ||
804 | rseq_signal_deliver(regs); | 804 | rseq_signal_deliver(ksig, regs); |
805 | 805 | ||
806 | if (sig_uses_siginfo(&ksig->ka, abi)) | 806 | if (sig_uses_siginfo(&ksig->ka, abi)) |
807 | ret = abi->setup_rt_frame(vdso + abi->vdso->off_rt_sigreturn, | 807 | ret = abi->setup_rt_frame(vdso + abi->vdso->off_rt_sigreturn, |
@@ -870,7 +870,7 @@ asmlinkage void do_notify_resume(struct pt_regs *regs, void *unused, | |||
870 | if (thread_info_flags & _TIF_NOTIFY_RESUME) { | 870 | if (thread_info_flags & _TIF_NOTIFY_RESUME) { |
871 | clear_thread_flag(TIF_NOTIFY_RESUME); | 871 | clear_thread_flag(TIF_NOTIFY_RESUME); |
872 | tracehook_notify_resume(regs); | 872 | tracehook_notify_resume(regs); |
873 | rseq_handle_notify_resume(regs); | 873 | rseq_handle_notify_resume(NULL, regs); |
874 | } | 874 | } |
875 | 875 | ||
876 | user_enter(); | 876 | user_enter(); |