CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2026/04/03 16:01:46
Modified files:
sys/arch/alpha/alpha: cpu.c
sys/arch/amd64/amd64: cpu.c
sys/arch/arm/arm: cpu.c
sys/arch/arm64/arm64: cpu.c
sys/arch/i386/i386: cpu.c
sys/arch/mips64/mips64: cpu.c
sys/arch/riscv64/riscv64: cpu.c
Log message:
Fix order of cpus in CPU_INFO_FOREACH
The cpus were put into the linked list in mostly inverted order during attach.
The linked list determines the order used by the CPU_INFO_FOREACH macros.
Order the linked list by ci_cpuid instead.
ok jca@ for most archs
"this should go in" deraadt@