[PATCH] x86-64: Delivery mode should be APIC_DM_FIXED when using physical mode.

Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
Ashok Raj 2005-09-12 18:49:24 +02:00 committed by Linus Torvalds
parent 9c0aa0f9a1
commit c1a71a1ede

View File

@ -177,9 +177,9 @@ static unsigned int physflat_cpu_mask_to_apicid(cpumask_t cpumask)
struct genapic apic_physflat = { struct genapic apic_physflat = {
.name = "physical flat", .name = "physical flat",
.int_delivery_mode = dest_LowestPrio, .int_delivery_mode = dest_Fixed,
.int_dest_mode = (APIC_DEST_PHYSICAL != 0), .int_dest_mode = (APIC_DEST_PHYSICAL != 0),
.int_delivery_dest = APIC_DEST_PHYSICAL | APIC_DM_LOWEST, .int_delivery_dest = APIC_DEST_PHYSICAL | APIC_DM_FIXED,
.target_cpus = physflat_target_cpus, .target_cpus = physflat_target_cpus,
.apic_id_registered = flat_apic_id_registered, .apic_id_registered = flat_apic_id_registered,
.init_apic_ldr = flat_init_apic_ldr,/*not needed, but shouldn't hurt*/ .init_apic_ldr = flat_init_apic_ldr,/*not needed, but shouldn't hurt*/