From: Davidlohr Bueso Date: Mon, 26 Jan 2015 07:36:04 +0000 (-0800) Subject: locking/rwsem: Use task->state helpers X-Git-Tag: fixes-v4.0-rc1~181^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=73105994c57d06e40a33ab5a716db04e898b4c05;p=pandora-kernel.git locking/rwsem: Use task->state helpers Call __set_task_state() instead of assigning the new state directly. These interfaces also aid CONFIG_DEBUG_ATOMIC_SLEEP environments, keeping track of who last changed the state. Signed-off-by: Davidlohr Bueso Signed-off-by: Peter Zijlstra (Intel) Cc: "Paul E. McKenney" Cc: Jason Low Cc: Michel Lespinasse Cc: Tim Chen Cc: Linus Torvalds Link: http://lkml.kernel.org/r/1422257769-14083-2-git-send-email-dave@stgolabs.net Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed