Nucleus
Barry CPU specific segment c738dbb (3 years, 2 months ago)
diff --git a/kernel/acpi/apic.c b/kernel/acpi/apic.c
index 73da356..c7f8259 100644
--- a/kernel/acpi/apic.c
+++ b/kernel/acpi/apic.c
@@ -103,7 +103,7 @@ apic_start_timer(void)
{
/* Wait for this processor's "turn" */
static cpu_t c = 0;
- while (c != CPUID);
+ while (c != cpu->id);
/* Start LAPIC countdown from -1 */
LAPIC(0x3E0) = 3;