From: Paul E. McKenney Date: Mon, 3 Feb 2014 19:52:27 +0000 (-0800) Subject: rcutorture: Abstract torture_create_kthread() X-Git-Tag: v3.15-rc1~183^2~1^2^2~17 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=47cf29b9e721967aac95ebda9e50408219755852;p=pandora-kernel.git rcutorture: Abstract torture_create_kthread() Creation of kthreads is not RCU-specific, so this commit abstracts out torture_create_kthread(), saving a few tens of lines of code in the process. This change requires modifying VERBOSE_TOROUT_ERRSTRING() to take a non-const string, so that _torture_create_kthread() can avoid an open-coded substitute. Signed-off-by: Paul E. McKenney Reviewed-by: Josh Triplett --- Reading git-diff-tree failed