diff options
| author | Peter Hurley <peter@hurleysoftware.com> | 2014-09-10 14:31:39 -0400 |
|---|---|---|
| committer | Luis Henriques <luis.henriques@canonical.com> | 2016-01-05 12:08:20 +0000 |
| commit | 02d4d9512faf2e50dfc426e1970a3471d70243e1 (patch) | |
| tree | f39de9bbd9890d98eb9e3ffe9290ba3af784638a /include/drm | |
| parent | 862d5b6ea0ba1ae37318f4de3a5c73ee1e8446e7 (diff) | |
locking: Add WARN_ON_ONCE lock assertion
commit 9a37110d20c95d1ebf6c04881177fe8f62831db2 upstream.
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 <peter@hurleysoftware.com>
Acked-by: Ingo Molnar <mingo@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Luis Henriques <luis.henriques@canonical.com>
Diffstat (limited to 'include/drm')
0 files changed, 0 insertions, 0 deletions
