summaryrefslogtreecommitdiff
path: root/init.c
diff options
context:
space:
mode:
APIC IDs may not be consecutive and start from zero, so we cannot really use it
as a direct index into cpus. Record apicid in struct cpu and have cpunum() look for it. Replace cpu->id with cpunum() everywhere, and replace cpu->id with cpu->apicid. Thanks to Xi Wang.
Diffstat (limited to 'init.c')
0 files changed, 0 insertions, 0 deletions