From: Peter Hurley Date: Wed, 10 Sep 2014 18:31:39 +0000 (-0400) Subject: locking: Add WARN_ON_ONCE lock assertion X-Git-Tag: fixes-for-v3.18-merge-window~14^2~38 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9a37110d20c95d1ebf6c04881177fe8f62831db2;p=pandora-kernel.git locking: Add WARN_ON_ONCE lock assertion An interface may need to assert a lock invariant and not flood the system logs; add a lockdep helper macro equivalent to lockdep_assert_held() which only WARNs once. Signed-off-by: Peter Hurley Acked-by: Ingo Molnar Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed