diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/arch/x86/ioapic.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/src/arch/x86/ioapic.c b/src/arch/x86/ioapic.c index 04c852b4c2..df97a50cf5 100644 --- a/src/arch/x86/ioapic.c +++ b/src/arch/x86/ioapic.c @@ -131,12 +131,8 @@ static void set_ioapic_id(void *ioapic_base, u8 ioapic_id) ioapic_base); printk(BIOS_DEBUG, "IOAPIC: ID = 0x%02x\n", ioapic_id); - if (ioapic_id) { - /* Set IOAPIC ID if it has been specified. */ - io_apic_write(ioapic_base, 0x00, - (io_apic_read(ioapic_base, 0x00) & 0xf0ffffff) | - (ioapic_id << 24)); - } + io_apic_write(ioapic_base, 0x00, + (io_apic_read(ioapic_base, 0x00) & 0xf0ffffff) | (ioapic_id << 24)); printk(BIOS_SPEW, "IOAPIC: Dumping registers\n"); for (i = 0; i < 3; i++) |