aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/x86/kernel/apic/io_apic.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/arch/x86/kernel/apic/io_apic.c b/arch/x86/kernel/apic/io_apic.c
index 4abf08aab3d4..8a0215042a5f 100644
--- a/arch/x86/kernel/apic/io_apic.c
+++ b/arch/x86/kernel/apic/io_apic.c
@@ -2007,9 +2007,12 @@ void __init setup_ioapic_ids_from_mpc_nocheck(void)
2007 = mp_ioapics[apic_id].apicid; 2007 = mp_ioapics[apic_id].apicid;
2008 2008
2009 /* 2009 /*
2010 * Read the right value from the MPC table and 2010 * Update the ID register according to the right value
2011 * write it into the ID register. 2011 * from the MPC table if they are different.
2012 */ 2012 */
2013 if (mp_ioapics[apic_id].apicid == reg_00.bits.ID)
2014 continue;
2015
2013 apic_printk(APIC_VERBOSE, KERN_INFO 2016 apic_printk(APIC_VERBOSE, KERN_INFO
2014 "...changing IO-APIC physical APIC ID to %d ...", 2017 "...changing IO-APIC physical APIC ID to %d ...",
2015 mp_ioapics[apic_id].apicid); 2018 mp_ioapics[apic_id].apicid);