intel64/intel64_irq.c: cosmetic change

Signed-off-by: p-szafonimateusz <p-szafonimateusz@xiaomi.com>
This commit is contained in:
p-szafonimateusz
2024-04-03 11:53:18 +02:00
committed by Xiang Xiao
parent 5ff6362d0f
commit f8ec274749
+2 -1
View File
@@ -358,6 +358,7 @@ legacy_pic_irq_handler(int irq, uint32_t *regs, void *arg)
#ifndef CONFIG_ARCH_INTEL64_DISABLE_INT_INIT
static void up_ioapic_init(void)
{
uint32_t maxintr;
int i;
up_map_region((void *)IOAPIC_BASE, HUGE_PAGE_SIZE,
@@ -365,7 +366,7 @@ static void up_ioapic_init(void)
/* Setup the IO-APIC, remap the interrupt to 32~ */
uint32_t maxintr = (up_ioapic_read(IOAPIC_REG_VER) >> 16) & 0xff;
maxintr = (up_ioapic_read(IOAPIC_REG_VER) >> 16) & 0xff;
for (i = 0; i < maxintr; i++)
{