diff options
Diffstat (limited to 'sys/arch/amd64/amd64/machdep.c')
-rw-r--r-- | sys/arch/amd64/amd64/machdep.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/arch/amd64/amd64/machdep.c b/sys/arch/amd64/amd64/machdep.c index 3338caa..94b2d18 100644 --- a/sys/arch/amd64/amd64/machdep.c +++ b/sys/arch/amd64/amd64/machdep.c @@ -449,7 +449,7 @@ void cpu_halt_all(void) { struct cpu_info *ci; - uint32_t ncpu; + uint32_t ncpu = cpu_count(); /* * If we have no current 'cpu_info' structure set, |