Files
linux/drivers/firmware
Guenter Roeck 79943632c5 firmware: Do not use WARN_ON(!spin_is_locked())
commit aee530cfec 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>
2014-09-17 09:03:57 -07:00
..
2013-04-30 11:42:13 +01:00
2013-04-17 13:27:06 +01:00