diff options
author | Nishanth Aravamudan <nacc@us.ibm.com> | 2005-11-07 04:01:14 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-11-07 10:53:56 -0500 |
commit | 01a527ec7c62efea601a39f0cd8e6a8517259014 (patch) | |
tree | 153c92030c0d77b7c4a38fd978ad9f089b14df92 /drivers/block/noop-iosched.c | |
parent | bc874d174b224c016adac85fc9dd6da1161ffc57 (diff) |
[PATCH] drivers/acpi: fix-up schedule_timeout() usage
Use schedule_timeout_interruptible() instead of
set_current_state()/schedule_timeout() to reduce kernel size. Also use
msecs_to_jiffies() instead of direct HZ division to avoid rounding errors.
Signed-off-by: Nishanth Aravamudan <nacc@us.ibm.com>
Cc: "Brown, Len" <len.brown@intel.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/block/noop-iosched.c')
0 files changed, 0 insertions, 0 deletions