summaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/signal.c
diff options
context:
space:
mode:
authorLuck, Tony <tony.luck@intel.com>2015-01-05 16:44:42 -0800
committerAndy Lutomirski <luto@amacapital.net>2015-01-07 07:47:42 -0800
commitd4812e169de44f4ab53ff671c6193c67de24da62 (patch)
treee923316c76c2af0d2858f63dc275c1aa516ab020 /arch/x86/kernel/signal.c
parentbced35b65aefe53a6f77a9ed0ce1aea86e9d65a2 (diff)
downloadblackbird-obmc-linux-d4812e169de44f4ab53ff671c6193c67de24da62.tar.gz
blackbird-obmc-linux-d4812e169de44f4ab53ff671c6193c67de24da62.zip
x86, mce: Get rid of TIF_MCE_NOTIFY and associated mce tricks
We now switch to the kernel stack when a machine check interrupts during user mode. This means that we can perform recovery actions in the tail of do_machine_check() Acked-by: Borislav Petkov <bp@suse.de> Signed-off-by: Tony Luck <tony.luck@intel.com> Signed-off-by: Andy Lutomirski <luto@amacapital.net>
Diffstat (limited to 'arch/x86/kernel/signal.c')
-rw-r--r--arch/x86/kernel/signal.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/arch/x86/kernel/signal.c b/arch/x86/kernel/signal.c
index ed37a768d0fc..2a33c8f68319 100644
--- a/arch/x86/kernel/signal.c
+++ b/arch/x86/kernel/signal.c
@@ -740,12 +740,6 @@ do_notify_resume(struct pt_regs *regs, void *unused, __u32 thread_info_flags)
{
user_exit();
-#ifdef CONFIG_X86_MCE
- /* notify userspace of pending MCEs */
- if (thread_info_flags & _TIF_MCE_NOTIFY)
- mce_notify_process();
-#endif /* CONFIG_X86_64 && CONFIG_X86_MCE */
-
if (thread_info_flags & _TIF_UPROBE)
uprobe_notify_resume(regs);
OpenPOWER on IntegriCloud