diff options
author | Luck, Tony <tony.luck@intel.com> | 2015-01-06 01:44:42 +0100 |
---|---|---|
committer | Andy Lutomirski <luto@amacapital.net> | 2015-01-07 16:47:42 +0100 |
commit | d4812e169de44f4ab53ff671c6193c67de24da62 (patch) | |
tree | e923316c76c2af0d2858f63dc275c1aa516ab020 /arch/x86/kernel/signal.c | |
parent | x86, traps: Add ist_begin_non_atomic and ist_end_non_atomic (diff) | |
download | linux-d4812e169de44f4ab53ff671c6193c67de24da62.tar.xz 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.c | 6 |
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); |