cvs commit: src/sys/ia64/acpica madt.c
Marcel Moolenaar
marcel at FreeBSD.org
Sun Sep 7 16:09:09 PDT 2003
marcel 2003/09/07 16:09:08 PDT
FreeBSD src repository
Modified files:
sys/ia64/acpica madt.c
Log:
Untangle the code in this file to improve understandability. Both
ia64_count_cpus() and ia64_probe_sapics() called a single function
to do the the actual work. The difference in behaviour was handled
in that function and was further complicated by adding bootverbose
related code. As such, even the simplest of changes was hard to
comprehend.
Untangling has been done by increasing code duplication and using
a more naive style of coding. FWIW, the object file is slightly
smaller than before, so things aren't as bad as it may seem.
Triggered by: a simple fix on the P4 branch that never got merged.
Revision Changes Path
1.15 +160 -164 src/sys/ia64/acpica/madt.c
More information about the cvs-src
mailing list