From 7a3107219353a5399cd3886bc3ff0a06d4aef8e2 Mon Sep 17 00:00:00 2001 From: John Baldwin Date: Tue, 12 Feb 2008 15:26:59 +0000 Subject: [PATCH] Fix a typo when testing for the NO_C3 quirk. MFC after: 3 days --- sys/dev/acpica/acpi_cpu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)