acpi_os_sleep()
Subsystems (2)
Hi,
In continuing to replace, where appropriate, code with msleep() calls, I ran across drivers/acpi/osl.c::acpi_os_sleep():
voidacpi_os_sleep(u32 sec, u32 ms)
{
current->state = TASK_INTERRUPTIBLE;
schedule_timeout(HZ * sec + (ms * HZ) / 1000);
}I was wondering if this needed to run in TASK_INTERRUPTIBLE or whether I could go ahead and replace it with msleep() (which runs in TASK_UNINTERRUPTIBLE).
Thanks,
Nish
_______________________________________________
Kernel-janitors mailing list
[email protected]
http://lists.osdl.org/mailman/listinfo/kernel-janitors