summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorGuenter Roeck <linux@roeck-us.net>2014-08-13 11:21:34 -0700
committerMatt Fleming <matt.fleming@intel.com>2014-08-22 08:45:40 +0100
commitaee530cfecf4f3ec83b78406bac618cec35853f8 (patch)
tree612a0735dd8797f3ca0cfe47693f2350bdae7049 /arch
parent7d1311b93e58ed55f3a31cc8f94c4b8fe988a2b9 (diff)
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 <linux@roeck-us.net> Cc: <stable@vger.kernel.org> Signed-off-by: Matt Fleming <matt.fleming@intel.com>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions