diff options
author | Guenter Roeck <linux@roeck-us.net> | 2014-08-13 20:21:34 +0200 |
---|---|---|
committer | Matt Fleming <matt.fleming@intel.com> | 2014-08-22 09:45:40 +0200 |
commit | aee530cfecf4f3ec83b78406bac618cec35853f8 (patch) | |
tree | 612a0735dd8797f3ca0cfe47693f2350bdae7049 /scripts/unifdef.c | |
parent | Linux 3.17-rc1 (diff) | |
download | linux-aee530cfecf4f3ec83b78406bac618cec35853f8.tar.xz linux-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 <linux@roeck-us.net>
Cc: <stable@vger.kernel.org>
Signed-off-by: Matt Fleming <matt.fleming@intel.com>
Diffstat (limited to 'scripts/unifdef.c')
0 files changed, 0 insertions, 0 deletions