From: Oleg Nesterov Date: Sun, 19 Oct 2008 03:28:24 +0000 (-0700) Subject: kthread_bind: use wait_task_inactive(TASK_UNINTERRUPTIBLE) X-Git-Tag: v2.6.28-rc1~134 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=293adee601bcd4cdb5076a9bda187137de17e96e;p=pandora-kernel.git kthread_bind: use wait_task_inactive(TASK_UNINTERRUPTIBLE) Now that wait_task_inactive(task, state) checks task->state == state, we can simplify the code and make this debugging check more robust. Signed-off-by: Oleg Nesterov Cc: Roland McGrath Cc: Ingo Molnar Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed