aboutsummaryrefslogtreecommitdiffstats
path: root/lib/assoc_array.c
diff options
context:
space:
mode:
authorGuenter Roeck <[email protected]>2014-08-13 18:21:34 +0000
committerMatt Fleming <[email protected]>2014-08-22 07:45:40 +0000
commitaee530cfecf4f3ec83b78406bac618cec35853f8 (patch)
tree612a0735dd8797f3ca0cfe47693f2350bdae7049 /lib/assoc_array.c
parentLinux 3.17-rc1 (diff)
downloadkernel-aee530cfecf4f3ec83b78406bac618cec35853f8.tar.gz
kernel-aee530cfecf4f3ec83b78406bac618cec35853f8.zip
firmware: Do not use WARN_ON(!spin_is_locked())
spin_is_locked() always returns false for uniprocessor configurations in several architectures, so do not use WARN_ON with it. Use lockdep_assert_held() instead to also reduce overhead in non-debug kernels. Signed-off-by: Guenter Roeck <[email protected]> Cc: <[email protected]> Signed-off-by: Matt Fleming <[email protected]>
Diffstat (limited to 'lib/assoc_array.c')
0 files changed, 0 insertions, 0 deletions