diff options
author | Luck, Tony <tony.luck@intel.com> | 2015-01-05 16:44:42 -0800 |
---|---|---|
committer | Andy Lutomirski <luto@amacapital.net> | 2015-01-07 07:47:42 -0800 |
commit | d4812e169de44f4ab53ff671c6193c67de24da62 (patch) | |
tree | e923316c76c2af0d2858f63dc275c1aa516ab020 /arch/x86/kernel/signal.c | |
parent | bced35b65aefe53a6f77a9ed0ce1aea86e9d65a2 (diff) | |
download | blackbird-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.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); |