interrupt (x86_64): switch out _cpu()->ipl initialization from apic.c to idt.c

This commit is contained in:
Matheus
2023-06-25 15:40:42 -03:00
parent fef149ca55
commit 2ae3846b17
2 changed files with 3 additions and 1 deletions
-1
View File
@@ -227,7 +227,6 @@ void arch_apic_initap() {
writelapic(APIC_LVT_LINT0 + 0x10 * current->lint, (nmiisr->id & 0xff) | LVT_DELIVERY_NMI | (current->flags << 12));
}
_cpu()->ipl = IPL_NORMAL;
interrupt_set(true);
}