Commit df010ce7 authored by Len Brown's avatar Len Brown Committed by Len Brown

[ACPI] acpi_os_sleep() now takes a single 64-bit value in [ms]

Signed-off-by: default avatarLen Brown <len.brown@intel.com>
parent 419a57d5
...@@ -306,10 +306,10 @@ acpi_os_remove_interrupt_handler(u32 irq, acpi_osd_handler handler) ...@@ -306,10 +306,10 @@ acpi_os_remove_interrupt_handler(u32 irq, acpi_osd_handler handler)
*/ */
void void
acpi_os_sleep(u32 sec, u32 ms) acpi_os_sleep(acpi_integer ms)
{ {
current->state = TASK_INTERRUPTIBLE; current->state = TASK_INTERRUPTIBLE;
schedule_timeout(HZ * sec + (ms * HZ) / 1000); schedule_timeout(((signed long) ms * HZ) / 1000);
} }
void void
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment