Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/sys



Module Name:    src
Committed By:   mrg
Date:           Sat Dec 16 00:37:52 UTC 2017

Modified Files:
        src/sys/arch/arm/include: cpu.h
        src/sys/arch/mips/include: cpu.h
        src/sys/sys: cpu.h

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r1.93 -r1.94 src/sys/arch/arm/include/cpu.h
cvs rdiff -u -r1.121 -r1.122 src/sys/arch/mips/include/cpu.h
cvs rdiff -u -r1.41 -r1.42 src/sys/sys/cpu.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index