aboutsummaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorJohn Baldwin <jhb@FreeBSD.org>2008-02-12 15:26:59 +0000
committerJohn Baldwin <jhb@FreeBSD.org>2008-02-12 15:26:59 +0000
commit7a3107219353a5399cd3886bc3ff0a06d4aef8e2 (patch)
treed33109ad5ae327e79af59db4504b16f4cb1cf0da /sys
parentaf3c383a984cb96fac203a8322110f982534ed3f (diff)
downloadsrc-7a3107219353a5399cd3886bc3ff0a06d4aef8e2.tar.gz
src-7a3107219353a5399cd3886bc3ff0a06d4aef8e2.zip
Fix a typo when testing for the NO_C3 quirk.
MFC after: 3 days
Notes
Notes: svn path=/head/; revision=176205
Diffstat (limited to 'sys')
-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 eb5ce530e0e7..492de5e492e6 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)