From: Con Kolivas Date: Fri, 31 Mar 2006 10:31:23 +0000 (-0800) Subject: [PATCH] sched: cleanup task_activated() X-Git-Tag: v2.6.17-rc1~58 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3dee386e14045484a6c41c8f03a263f9d79de740;p=pandora-kernel.git [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 Acked-by: Ingo Molnar Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed