Commit a1147f6b authored by Maximilian Attems's avatar Maximilian Attems Committed by Linus Torvalds

[PATCH] msleep_interruptible(): fix whitespace

thanks Xu for noticing, some whitespace found it's way there.
clean that up.
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent fdab708f
...@@ -1625,13 +1625,13 @@ EXPORT_SYMBOL(msleep); ...@@ -1625,13 +1625,13 @@ EXPORT_SYMBOL(msleep);
*/ */
unsigned long msleep_interruptible(unsigned int msecs) unsigned long msleep_interruptible(unsigned int msecs)
{ {
unsigned long timeout = msecs_to_jiffies(msecs); unsigned long timeout = msecs_to_jiffies(msecs);
while (timeout && !signal_pending(current)) { while (timeout && !signal_pending(current)) {
set_current_state(TASK_INTERRUPTIBLE); set_current_state(TASK_INTERRUPTIBLE);
timeout = schedule_timeout(timeout); timeout = schedule_timeout(timeout);
} }
return jiffies_to_msecs(timeout); return jiffies_to_msecs(timeout);
} }
EXPORT_SYMBOL(msleep_interruptible); EXPORT_SYMBOL(msleep_interruptible);
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