summaryrefslogtreecommitdiff
path: root/sys/dev/microcode/isp
diff options
context:
space:
mode:
authormrg <mrg@NetBSD.org>2017-12-16 00:37:51 +0000
committermrg <mrg@NetBSD.org>2017-12-16 00:37:51 +0000
commit92b37ccdc3a58cdcbeef4041048a608e691fae91 (patch)
treeac614c4e1ec9949bf458969ed8cfbfde1c182ee5 /sys/dev/microcode/isp
parent60b9780eb7d7e6f020f8e48facbb18f8c08a553e (diff)
CPU_INFO_FOREACH() must always iterate at least the boot cpu.
document this in sys/cpu.h and fix the arm and mips versions to check ncpu is non zero before using it as an iterator max. this should fix the new assert in init_main.c.
Diffstat (limited to 'sys/dev/microcode/isp')
0 files changed, 0 insertions, 0 deletions