summaryrefslogtreecommitdiffstats
path: root/scripts/gcc-x86_32-has-stack-protector.sh
diff options
context:
space:
mode:
authorGuenter Roeck <linux@roeck-us.net>2014-08-13 20:21:34 +0200
committerMatt Fleming <matt.fleming@intel.com>2014-08-22 09:45:40 +0200
commitaee530cfecf4f3ec83b78406bac618cec35853f8 (patch)
tree612a0735dd8797f3ca0cfe47693f2350bdae7049 /scripts/gcc-x86_32-has-stack-protector.sh
parentLinux 3.17-rc1 (diff)
downloadlinux-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/gcc-x86_32-has-stack-protector.sh')
0 files changed, 0 insertions, 0 deletions