summaryrefslogtreecommitdiffstats
path: root/sys/dev/acpica/acpi_hpet.c
diff options
context:
space:
mode:
authormav <mav@FreeBSD.org>2013-03-11 17:29:09 +0000
committermav <mav@FreeBSD.org>2013-03-11 17:29:09 +0000
commit0b0a5d2fe0a4de3957980af2bef27f9eb6b21768 (patch)
tree0596a328060ee2c92bd2849a2721a204df64c9ae /sys/dev/acpica/acpi_hpet.c
parenta87061c1880822c30706104167f9bb2575504501 (diff)
downloadFreeBSD-src-0b0a5d2fe0a4de3957980af2bef27f9eb6b21768.zip
FreeBSD-src-0b0a5d2fe0a4de3957980af2bef27f9eb6b21768.tar.gz
Add "else" missed at r248154.
Diffstat (limited to 'sys/dev/acpica/acpi_hpet.c')
-rw-r--r--sys/dev/acpica/acpi_hpet.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/acpica/acpi_hpet.c b/sys/dev/acpica/acpi_hpet.c
index b0cd3d8..be869ed 100644
--- a/sys/dev/acpica/acpi_hpet.c
+++ b/sys/dev/acpica/acpi_hpet.c
@@ -675,7 +675,7 @@ hpet_attach(device_t dev)
if (t->pcpu_master >= 0) {
t->et.et_flags |= ET_FLAGS_PERCPU;
t->et.et_quality += 100;
- } if (mp_ncpus >= 8)
+ } else if (mp_ncpus >= 8)
t->et.et_quality -= 100;
if ((t->caps & HPET_TCAP_PER_INT) == 0)
t->et.et_quality -= 10;
OpenPOWER on IntegriCloud