[patch] msleep_interruptible() fix whitespace
From: maximilian attems (janitor_at_sternwelten.at)
Date: 09/30/04
- Previous message: Rafael J. Wysocki: "2.6.9-rc3: USB OHCI failure on suspend on AMD64"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Thu, 30 Sep 2004 22:49:18 +0200 To: akpm@osdl.org
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/ - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
- Previous message: Rafael J. Wysocki: "2.6.9-rc3: USB OHCI failure on suspend on AMD64"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|