cvs commit: src/sys/dev/acpica acpi_cpu.c
John Baldwin
jhb at FreeBSD.org
Wed Dec 3 12:27:49 PST 2003
jhb 2003/12/03 12:27:48 PST
FreeBSD src repository
Modified files:
sys/dev/acpica acpi_cpu.c
Log:
Update this driver to be more module friendly:
- Dynamically allocate the cpu_softc[] array based on mp_maxid instead of
using a statically sized array that depended on 'options SMP'.
- Use mp_maxid rather than MAXCPU when walking all the CPUs looking for a
match.
- Always call smp_rendezvous() since UP kernels now provide this.
- Use mp_ncpus rather than cpu_ndevices when determining if we need to
disable C3 for SMP machines.
Approved by: re (rwatson)
Reviewed by: njl
Revision Changes Path
1.23 +7 -5 src/sys/dev/acpica/acpi_cpu.c
More information about the cvs-src
mailing list