commit | 3dee386e14045484a6c41c8f03a263f9d79de740 | [log] [tgz] |
---|---|---|
author | Con Kolivas <kernel@kolivas.org> | Fri Mar 31 02:31:23 2006 -0800 |
committer | Linus Torvalds <torvalds@g5.osdl.org> | Fri Mar 31 12:18:58 2006 -0800 |
tree | 4b1643508ad94981e8d4deb5136d0a626e60932d | |
parent | db1b1fefc2cecbff2e4214062fa8c680cb6e7b7d [diff] |
[PATCH] sched: cleanup task_activated() The activated flag in task_struct is used to track different sleep types and its usage is somewhat obfuscated. Convert the variable to an enum with more descriptive names without altering the function. Signed-off-by: Con Kolivas <kernel@kolivas.org> Acked-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>