Jelajahi Sumber

[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>
Ashok Raj 19 tahun lalu
induk
melakukan
c1a71a1ede
1 mengubah file dengan 2 tambahan dan 2 penghapusan
  1. 2 2
      arch/x86_64/kernel/genapic_flat.c

+ 2 - 2
arch/x86_64/kernel/genapic_flat.c

@@ -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*/