From: Oleg Nesterov Date: Fri, 10 Jul 2009 01:48:23 +0000 (+0200) Subject: kernel: rename is_single_threaded(task) to current_is_single_threaded(void) X-Git-Tag: v2.6.32-rc1~737^2^2~42 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5bb459bb45d1ad3c177485dcf0af01580aa31125;p=pandora-kernel.git kernel: rename is_single_threaded(task) to current_is_single_threaded(void) - is_single_threaded(task) is not safe unless task == current, we can't use task->signal or task->mm. - it doesn't make sense unless task == current, the task can fork right after the check. Rename it to current_is_single_threaded() and kill the argument. Signed-off-by: Oleg Nesterov Acked-by: David Howells Signed-off-by: James Morris --- Reading git-diff-tree failed