summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/amd64/lapic.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/amd64/lapic.c b/sys/arch/amd64/lapic.c
index 1ea80c4..8058e3f 100644
--- a/sys/arch/amd64/lapic.c
+++ b/sys/arch/amd64/lapic.c
@@ -285,8 +285,8 @@ lapic_init(void)
cur_cpu->lapic_tmr_freq = tmr_freq;
/* Set the Local APIC ID */
- cur_cpu->lapic_id = lapic_get_id();
+ cur_cpu->id = lapic_get_id();
- BSP_KINFO("BSP Local APIC ID: %d\n", cur_cpu->lapic_id);
+ BSP_KINFO("BSP Local APIC ID: %d\n", cur_cpu->id);
CPU_INFO_UNLOCK(cur_cpu);
}