diff options
Diffstat (limited to 'arch/x86/kernel/signal.c')
-rw-r--r-- | arch/x86/kernel/signal.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/arch/x86/kernel/signal.c b/arch/x86/kernel/signal.c index ed37a768d0fc..e5042463c1bc 100644 --- a/arch/x86/kernel/signal.c +++ b/arch/x86/kernel/signal.c | |||
@@ -69,7 +69,7 @@ int restore_sigcontext(struct pt_regs *regs, struct sigcontext __user *sc, | |||
69 | unsigned int err = 0; | 69 | unsigned int err = 0; |
70 | 70 | ||
71 | /* Always make any pending restarted system calls return -EINTR */ | 71 | /* Always make any pending restarted system calls return -EINTR */ |
72 | current_thread_info()->restart_block.fn = do_no_restart_syscall; | 72 | current->restart_block.fn = do_no_restart_syscall; |
73 | 73 | ||
74 | get_user_try { | 74 | get_user_try { |
75 | 75 | ||
@@ -740,12 +740,6 @@ do_notify_resume(struct pt_regs *regs, void *unused, __u32 thread_info_flags) | |||
740 | { | 740 | { |
741 | user_exit(); | 741 | user_exit(); |
742 | 742 | ||
743 | #ifdef CONFIG_X86_MCE | ||
744 | /* notify userspace of pending MCEs */ | ||
745 | if (thread_info_flags & _TIF_MCE_NOTIFY) | ||
746 | mce_notify_process(); | ||
747 | #endif /* CONFIG_X86_64 && CONFIG_X86_MCE */ | ||
748 | |||
749 | if (thread_info_flags & _TIF_UPROBE) | 743 | if (thread_info_flags & _TIF_UPROBE) |
750 | uprobe_notify_resume(regs); | 744 | uprobe_notify_resume(regs); |
751 | 745 | ||