[patch] msleep_interruptible() fix whitespace

From: maximilian attems (janitor_at_sternwelten.at)
Date: 09/30/04

  • Next message: Arjan van de Ven: "Re: Compiling a 2.4 driver under 2.6"
    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/
    

  • Next message: Arjan van de Ven: "Re: Compiling a 2.4 driver under 2.6"

    Relevant Pages

    • Re: [patch] sys_epoll_wait() timeout saga ...
      ... > comparing an int with something too large for an int. ... Using the MINmacro would be better so we have a single check, ... Or we can force 'timeout * HZ' to ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: zombie with CLONE_THREAD
      ... which will then clean up their zombies as previously described. ... static int thread (void *arg) ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: Suspend 2 merge: 7/51: Reboot handler hook.
      ... Thbis patch breaks the existing swsusp and turns a clean ... interface into a horrible one. ... int software_suspend ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: Altix I/O code reorganization - 13 of 21
      ... # clean up ... static int hasmetarouter; ... +void format_module_id(char *buffer, moduleid_t m, int fmt) ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: forkbombing Linux distributions
      ... > Here at my school we have the workstations running Debian testing. ... I was was thinking of the default settings. ... int main{ ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)