aboutsummaryrefslogtreecommitdiffstats
path: root/xen/arch/x86/i8259.c
diff options
context:
space:
mode:
authorkfraser@localhost.localdomain <kfraser@localhost.localdomain>2007-07-12 11:49:02 +0100
committerkfraser@localhost.localdomain <kfraser@localhost.localdomain>2007-07-12 11:49:02 +0100
commit1ec8644504bde61743ba615b03fa44858e3b5a88 (patch)
tree657f3e073dcec7320eeda4432f2ca1f54fac6686 /xen/arch/x86/i8259.c
parent8c3b910735da413a42ac2ba878ad5d9fff267fbc (diff)
downloadxen-1ec8644504bde61743ba615b03fa44858e3b5a88.tar.gz
xen-1ec8644504bde61743ba615b03fa44858e3b5a88.tar.bz2
xen-1ec8644504bde61743ba615b03fa44858e3b5a88.zip
x86: Various cleanups around CR4 handling, cpu_possible_map, and VMX initialisation.
Signed-off-by: Keir Fraser <keir@xensource.com>
Diffstat (limited to 'xen/arch/x86/i8259.c')
-rw-r--r--xen/arch/x86/i8259.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/xen/arch/x86/i8259.c b/xen/arch/x86/i8259.c
index b02606af39..70eccd773a 100644
--- a/xen/arch/x86/i8259.c
+++ b/xen/arch/x86/i8259.c
@@ -397,7 +397,8 @@ void __init init_IRQ(void)
irq_desc[i].depth = 1;
spin_lock_init(&irq_desc[i].lock);
cpus_setall(irq_desc[i].affinity);
- set_intr_gate(i, interrupt[i]);
+ if ( i >= 0x20 )
+ set_intr_gate(i, interrupt[i]);
}
for ( i = 0; i < 16; i++ )