summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorGuenter Roeck <linux@roeck-us.net>2014-08-13 11:21:34 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-09-17 09:21:52 -0700
commita54ad360436e05ad5e45da99ec5c828a43d58053 (patch)
tree46e332db9d33899aec86b5fdbdb63064a12b51b6 /include/linux
parent12a7f32045064c7018831865c0cee9e9f0c651eb (diff)
firmware: Do not use WARN_ON(!spin_is_locked())
commit aee530cfecf4f3ec83b78406bac618cec35853f8 upstream. 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 <linux@roeck-us.net> Signed-off-by: Matt Fleming <matt.fleming@intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions