public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [patch] msleep_interruptible() fix whitespace
@ 2004-09-30 20:49 maximilian attems
  0 siblings, 0 replies; only message in thread
From: maximilian attems @ 2004-09-30 20:49 UTC (permalink / raw)
  To: akpm; +Cc: linux-kernel

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/


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2004-09-30 20:56 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-09-30 20:49 [patch] msleep_interruptible() fix whitespace maximilian attems

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox