lkml.org 
[lkml]   [2009]   [Dec]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    Subject[tip:sched/urgent] sched: Add missing state chars to TASK_STATE_TO_CHAR_STR
    Commit-ID:  44d90df6b757c59651ddd55f1a84f28132b50d29
    Gitweb: http://git.kernel.org/tip/44d90df6b757c59651ddd55f1a84f28132b50d29
    Author: Peter Zijlstra <a.p.zijlstra@chello.nl>
    AuthorDate: Thu, 17 Dec 2009 13:16:28 +0100
    Committer: Ingo Molnar <mingo@elte.hu>
    CommitDate: Thu, 17 Dec 2009 13:22:44 +0100

    sched: Add missing state chars to TASK_STATE_TO_CHAR_STR

    We grew 3 new task states since the last time someone touched
    it.

    Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
    LKML-Reference: <20091217121829.892737686@chello.nl>
    Signed-off-by: Ingo Molnar <mingo@elte.hu>
    ---
    include/linux/sched.h | 2 +-
    1 files changed, 1 insertions(+), 1 deletions(-)

    diff --git a/include/linux/sched.h b/include/linux/sched.h
    index c28ed1b..94858df 100644
    --- a/include/linux/sched.h
    +++ b/include/linux/sched.h
    @@ -193,7 +193,7 @@ print_cfs_rq(struct seq_file *m, int cpu, struct cfs_rq *cfs_rq)
    #define TASK_WAKEKILL 128
    #define TASK_WAKING 256

    -#define TASK_STATE_TO_CHAR_STR "RSDTtZX"
    +#define TASK_STATE_TO_CHAR_STR "RSDTtZXxKW"

    /* Convenience macros for the sake of set_task_state */
    #define TASK_KILLABLE (TASK_WAKEKILL | TASK_UNINTERRUPTIBLE)

    \
     
     \ /
      Last update: 2009-12-17 13:35    [W:0.032 / U:0.704 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site