aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/acpica
diff options
context:
space:
mode:
authorJohn Baldwin <jhb@FreeBSD.org>2007-02-23 16:25:08 +0000
committerJohn Baldwin <jhb@FreeBSD.org>2007-02-23 16:25:08 +0000
commita96255b62d488d4d2f532e64a74cc99571aacbd8 (patch)
treee93bd90cb35a83882bef6ca2e41bbf03c4c5a077 /sys/dev/acpica
parent37e80fcac22c6734bcdb79e160bc1eac56740c4c (diff)
Notes
Diffstat (limited to 'sys/dev/acpica')
-rw-r--r--sys/dev/acpica/Osd/OsdSchedule.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/dev/acpica/Osd/OsdSchedule.c b/sys/dev/acpica/Osd/OsdSchedule.c
index fca04af365c1..ea48266871ab 100644
--- a/sys/dev/acpica/Osd/OsdSchedule.c
+++ b/sys/dev/acpica/Osd/OsdSchedule.c
@@ -132,7 +132,6 @@ void
AcpiOsSleep(ACPI_INTEGER Milliseconds)
{
int timo;
- static int dummy;
ACPI_FUNCTION_TRACE((char *)(uintptr_t)__func__);
@@ -143,7 +142,7 @@ AcpiOsSleep(ACPI_INTEGER Milliseconds)
* DELAY instead for better granularity.
*/
if (timo > 0)
- tsleep(&dummy, 0, "acpislp", timo);
+ pause("acpislp", timo);
else
DELAY(Milliseconds * 1000);