This commit was manufactured by cvs2svn to create tag
[linux-2.6.git] / drivers / acpi / executer / exsystem.c
index 46e5fa6..42a1332 100644 (file)
@@ -167,7 +167,7 @@ acpi_ex_system_do_stall (
 
 acpi_status
 acpi_ex_system_do_suspend (
-       acpi_integer                    how_long)
+       u32                             how_long)
 {
        acpi_status                     status;
 
@@ -179,7 +179,8 @@ acpi_ex_system_do_suspend (
 
        acpi_ex_exit_interpreter ();
 
-       acpi_os_sleep (how_long);
+       acpi_os_sleep ((u16) (how_long / (u32) 1000),
+                         (u16) (how_long % (u32) 1000));
 
        /* And now we must get the interpreter again */