From: Thomas Gleixner Date: Wed, 11 Jun 2014 20:45:40 +0000 (+0000) Subject: futex: Split out the first waiter attachment from lookup_pi_state() X-Git-Tag: cleanup-for-v3.18~138^2~9 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=04e1b2e52b17195c9a1daa5935c55a4c8716095c;p=pandora-kernel.git futex: Split out the first waiter attachment from lookup_pi_state() We want to be a bit more clever in futex_lock_pi_atomic() and separate the possible states. Split out the code which attaches the first waiter to the owner into a separate function. No functional change. Signed-off-by: Thomas Gleixner Reviewed-by: Darren Hart Cc: Peter Zijlstra Cc: Davidlohr Bueso Cc: Kees Cook Cc: wad@chromium.org Link: http://lkml.kernel.org/r/20140611204237.271300614@linutronix.de Signed-off-by: Thomas Gleixner --- Reading git-diff-tree failed