cvs commit: src/sys/i386/i386 machdep.c
Matthew Dillon
dillon at crater.dragonflybsd.org
Tue Mar 9 10:07:06 PST 2004
dillon 2004/03/09 10:05:27 PST
DragonFly src repository
Modified files:
sys/i386/i386 machdep.c
Log:
ncpus2 must be initialized to 1 in the UP case. ncpus2_mask and ncpus2_shift
remain 0 in the UP case (cpu selection mask for one cpu always selects cpu #0).
This fixes a bug introduced by recent network commits, correcting a boot-time
panic on UP systems in in_pcblookup_hash().
Revision Changes Path
1.56 +5 -1 src/sys/i386/i386/machdep.c
http://www.dragonflybsd.org/cvsweb/src/sys/i386/i386/machdep.c.diff?r1=1.55&r2=1.56&f=h
More information about the Commits
mailing list