diff options
author | Keir Fraser <keir.fraser@citrix.com> | 2008-08-27 10:12:49 +0100 |
---|---|---|
committer | Keir Fraser <keir.fraser@citrix.com> | 2008-08-27 10:12:49 +0100 |
commit | b35a75abcd5fa05c50d1f7762348ae53184d1fe6 (patch) | |
tree | 03d0a78d953ebced3d67af55c123e4cc86f402b4 /xen/include/asm-x86/softirq.h | |
parent | bb2f3a7002b255a73f7afa8f62609197f51fe26b (diff) | |
download | xen-b35a75abcd5fa05c50d1f7762348ae53184d1fe6.tar.gz xen-b35a75abcd5fa05c50d1f7762348ae53184d1fe6.tar.bz2 xen-b35a75abcd5fa05c50d1f7762348ae53184d1fe6.zip |
x86: Signal softirq-context calibration with an actual first-class
softirq handle rather than kludging it with set_timer().
Should be faster and is definitely clearer. Also avoids us using
set_timer() in IRQ context (which is currently broken but soon won't
be).
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 | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/xen/include/asm-x86/softirq.h b/xen/include/asm-x86/softirq.h index 5f09a38964..12f9d27fb2 100644 --- a/xen/include/asm-x86/softirq.h +++ b/xen/include/asm-x86/softirq.h @@ -1,7 +1,8 @@ #ifndef __ASM_SOFTIRQ_H__ #define __ASM_SOFTIRQ_H__ -#define NMI_MCE_SOFTIRQ (NR_COMMON_SOFTIRQS + 0) +#define NMI_MCE_SOFTIRQ (NR_COMMON_SOFTIRQS + 0) +#define TIME_CALIBRATE_SOFTIRQ (NR_COMMON_SOFTIRQS + 1) #define NR_ARCH_SOFTIRQS 1 |