diff options
author | Keir Fraser <keir.fraser@citrix.com> | 2008-06-18 14:17:10 +0100 |
---|---|---|
committer | Keir Fraser <keir.fraser@citrix.com> | 2008-06-18 14:17:10 +0100 |
commit | d9a2559fc45a21e727e44a5261695dbbba8a517b (patch) | |
tree | 0c7545c57d8f3405a54a0df6f1bbc979f585f01d /xen/include/asm-x86/softirq.h | |
parent | 8da380986914ae767973e584e006bf8945d424c0 (diff) | |
download | xen-d9a2559fc45a21e727e44a5261695dbbba8a517b.tar.gz xen-d9a2559fc45a21e727e44a5261695dbbba8a517b.tar.bz2 xen-d9a2559fc45a21e727e44a5261695dbbba8a517b.zip |
x86: Must use a softirq to defer dom0 NMI
notification. tasklet_schedule() contains a spinlock and is unsafe in
NMI context.
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
Diffstat (limited to 'xen/include/asm-x86/softirq.h')
-rw-r--r-- | xen/include/asm-x86/softirq.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/xen/include/asm-x86/softirq.h b/xen/include/asm-x86/softirq.h index 3444d300c0..5f09a38964 100644 --- a/xen/include/asm-x86/softirq.h +++ b/xen/include/asm-x86/softirq.h @@ -1,6 +1,8 @@ #ifndef __ASM_SOFTIRQ_H__ #define __ASM_SOFTIRQ_H__ -#define NR_ARCH_SOFTIRQS 0 +#define NMI_MCE_SOFTIRQ (NR_COMMON_SOFTIRQS + 0) + +#define NR_ARCH_SOFTIRQS 1 #endif /* __ASM_SOFTIRQ_H__ */ |