diff options
author | Andy Lutomirski <luto@amacapital.net> | 2014-11-20 02:59:41 +0100 |
---|---|---|
committer | Andy Lutomirski <luto@amacapital.net> | 2015-01-02 19:22:46 +0100 |
commit | bced35b65aefe53a6f77a9ed0ce1aea86e9d65a2 (patch) | |
tree | 9a07fcff24c833c92146cfccfa4f7ab580913518 /arch/x86/include/asm/mce.h | |
parent | x86: Clean up current_stack_pointer (diff) | |
download | linux-bced35b65aefe53a6f77a9ed0ce1aea86e9d65a2.tar.xz linux-bced35b65aefe53a6f77a9ed0ce1aea86e9d65a2.zip |
x86, traps: Add ist_begin_non_atomic and ist_end_non_atomic
In some IST handlers, if the interrupt came from user mode,
we can safely enable preemption. Add helpers to do it safely.
This is intended to be used my the memory failure code in
do_machine_check.
Acked-by: Borislav Petkov <bp@suse.de>
Signed-off-by: Andy Lutomirski <luto@amacapital.net>
Diffstat (limited to 'arch/x86/include/asm/mce.h')
0 files changed, 0 insertions, 0 deletions