diff options
Diffstat (limited to 'src/arch')
-rw-r--r-- | src/arch/x86/lib/ioapic.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/arch/x86/lib/ioapic.c b/src/arch/x86/lib/ioapic.c index 3f64209746..81d964cf94 100644 --- a/src/arch/x86/lib/ioapic.c +++ b/src/arch/x86/lib/ioapic.c @@ -79,7 +79,7 @@ void setup_ioapic(u32 ioapic_base, u8 ioapic_id) printk(BIOS_DEBUG, "IOAPIC: ID = 0x%02x\n", ioapic_id); /* Set IOAPIC ID if it has been specified. */ io_apic_write(ioapic_base, 0x00, - (io_apic_read(ioapic_base, 0x00) & 0xfff0ffff) | + (io_apic_read(ioapic_base, 0x00) & 0xf0ffffff) | (ioapic_id << 24)); } |