2004-09-30 20:56:01

by maximilian attems

[permalink] [raw]
Subject: [patch] msleep_interruptible() fix whitespace

thanks Xu for noticing, some whitespace found it's way there.
clean that up.


--- linux-2.6.9-rc3-b/kernel/timer.c 2004-09-30 22:25:27.000000000 +0200
+++ linux-2.6.9-rc3/kernel/timer.c 2004-09-30 22:37:09.000000000 +0200
@@ -1624,13 +1624,13 @@ EXPORT_SYMBOL(msleep);
*/
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)) {
- set_current_state(TASK_INTERRUPTIBLE);
- timeout = schedule_timeout(timeout);
- }
- return jiffies_to_msecs(timeout);
+ while (timeout && !signal_pending(current)) {
+ set_current_state(TASK_INTERRUPTIBLE);
+ timeout = schedule_timeout(timeout);
+ }
+ return jiffies_to_msecs(timeout);
}

EXPORT_SYMBOL(msleep_interruptible);

--
maks
kernel janitor http://janitor.kernelnewbies.org/