commit | 2231ec7e0bcc1a2bc94a17081511ab54cc6badd1 | [log] [tgz] |
---|---|---|
author | Andy Lutomirski <luto@kernel.org> | Thu Jul 23 15:37:46 2015 -0700 |
committer | Andy Lutomirski <luto@kernel.org> | Wed Aug 19 08:51:47 2015 -0700 |
tree | 46eb98ac331d94be0c5b0e03e9de82afcca68ffb | |
parent | 79a0b8c1a9afc28c3ac5f6b853cf0487ecd5b1a0 [diff] |
x86/entry/64: Refactor IRQ stacks and make them NMI-safe This will allow IRQ stacks to nest inside NMIs or similar entries that can happen during IRQ stack setup or teardown. The Xen code here has a confusing comment. The new macros won't work correctly if they're invoked with IRQs on. Add a check under CONFIG_DEBUG_ENTRY to detect that. Signed-off-by: Andy Lutomirski <luto@kernel.org>