diff options
Diffstat (limited to 'src/acpi/acpi_apic.c')
-rw-r--r-- | src/acpi/acpi_apic.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/acpi/acpi_apic.c b/src/acpi/acpi_apic.c index d6937fcaf7..2b3402a589 100644 --- a/src/acpi/acpi_apic.c +++ b/src/acpi/acpi_apic.c @@ -100,8 +100,8 @@ int acpi_create_madt_ioapic_from_hw(acpi_madt_ioapic_t *ioapic, u32 addr) { static u32 gsi_base; u32 my_base; - u8 id = get_ioapic_id((void *)(uintptr_t)addr); - u8 count = ioapic_get_max_vectors((void *)(uintptr_t)addr); + u8 id = get_ioapic_id((uintptr_t)addr); + u8 count = ioapic_get_max_vectors((uintptr_t)addr); my_base = gsi_base; gsi_base += count; |