Date: Wed, 3 Dec 2003 12:27:48 -0800 (PST) From: John Baldwin <jhb@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/dev/acpica acpi_cpu.c Message-ID: <200312032027.hB3KRmtq071598@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200312032027.hB3KRmtq071598>