summaryrefslogtreecommitdiffstats
path: root/sys/dev/acpica
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2008-02-12 15:26:59 +0000
committerjhb <jhb@FreeBSD.org>2008-02-12 15:26:59 +0000
commit266bdb9965ed5920c58213cfd9527588f65f47a9 (patch)
treed33109ad5ae327e79af59db4504b16f4cb1cf0da /sys/dev/acpica
parente825a75e75fd06e232ee8b2438480efc0420c99e (diff)
downloadFreeBSD-src-266bdb9965ed5920c58213cfd9527588f65f47a9.zip
FreeBSD-src-266bdb9965ed5920c58213cfd9527588f65f47a9.tar.gz
Fix a typo when testing for the NO_C3 quirk.
MFC after: 3 days
Diffstat (limited to 'sys/dev/acpica')
-rw-r--r--sys/dev/acpica/acpi_cpu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/acpica/acpi_cpu.c b/sys/dev/acpica/acpi_cpu.c
index eb5ce53..492de5e 100644
--- a/sys/dev/acpica/acpi_cpu.c
+++ b/sys/dev/acpica/acpi_cpu.c
@@ -766,7 +766,7 @@ acpi_cpu_startup(void *arg)
*/
for (i = 0; i < cpu_ndevices; i++) {
sc = device_get_softc(cpu_devices[i]);
- if (cpu_quirks && CPU_QUIRK_NO_C3) {
+ if (cpu_quirks & CPU_QUIRK_NO_C3) {
sc->cpu_cx_count = sc->cpu_non_c3 + 1;
}
if (sc->cpu_cx_count > cpu_cx_count)
OpenPOWER on IntegriCloud