From: Peter Zijlstra Date: Tue, 5 Apr 2011 15:23:41 +0000 (+0200) Subject: mutex: Use p->on_cpu for the adaptive spin X-Git-Tag: v3.0-rc1~357^2~2^2~18 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c6eb3dda25892f1f974f5420f63e6721aab02f6f;p=pandora-kernel.git mutex: Use p->on_cpu for the adaptive spin Since we now have p->on_cpu unconditionally available, use it to re-implement mutex_spin_on_owner. Requested-by: Thomas Gleixner Reviewed-by: Frank Rowand Cc: Mike Galbraith Cc: Nick Piggin Cc: Linus Torvalds Cc: Andrew Morton Signed-off-by: Ingo Molnar Signed-off-by: Peter Zijlstra Link: http://lkml.kernel.org/r/20110405152728.826338173@chello.nl --- Reading git-diff-tree failed