diff options
author | Bret Lambert <blambert@cvs.openbsd.org> | 2008-09-10 14:01:24 +0000 |
---|---|---|
committer | Bret Lambert <blambert@cvs.openbsd.org> | 2008-09-10 14:01:24 +0000 |
commit | 33d64896abc9e79070ec22125a832e7d8ef87878 (patch) | |
tree | 1f2297f6ceb3127f1cc36b8d9c89baeeceb16922 /sys/dev/acpi/dsdt.c | |
parent | 528af50e90df2cf2ebdf638dc4d94752c1861936 (diff) |
Convert timeout_add() calls using multiples of hz to timeout_add_sec()
Really just the low-hanging fruit of (hopefully) forthcoming timeout
conversions.
ok art@, krw@
Diffstat (limited to 'sys/dev/acpi/dsdt.c')
-rw-r--r-- | sys/dev/acpi/dsdt.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/acpi/dsdt.c b/sys/dev/acpi/dsdt.c index 8536885ffad..e1f3baab262 100644 --- a/sys/dev/acpi/dsdt.c +++ b/sys/dev/acpi/dsdt.c @@ -1,4 +1,4 @@ -/* $OpenBSD: dsdt.c,v 1.131 2008/08/14 17:41:20 jsing Exp $ */ +/* $OpenBSD: dsdt.c,v 1.132 2008/09/10 14:01:22 blambert Exp $ */ /* * Copyright (c) 2005 Jordan Hargrave <jordan@openbsd.org> * @@ -500,7 +500,7 @@ acpi_poll(void *arg) dsdt_softc->sc_wakeup = 0; wakeup(dsdt_softc); - timeout_add(&dsdt_softc->sc_dev_timeout, 10 * hz); + timeout_add_sec(&dsdt_softc->sc_dev_timeout, 10); } void @@ -525,7 +525,7 @@ aml_register_notify(struct aml_node *node, const char *pnpid, SLIST_INSERT_HEAD(&aml_notify_list, pdata, link); if (poll && !acpi_poll_enabled) - timeout_add(&dsdt_softc->sc_dev_timeout, 10 * hz); + timeout_add_sec(&dsdt_softc->sc_dev_timeout, 10); } void |