aboutsummaryrefslogtreecommitdiffstats
path: root/lib/mpi/mpi-cmp.c
diff options
context:
space:
mode:
authorBruno PrĂ©mont <[email protected]>2014-12-21 16:43:31 +0000
committerBen Skeggs <[email protected]>2014-12-21 22:37:38 +0000
commitff4c0d5213b015e60aa87c1352604f10ba9c3e12 (patch)
tree09f16efc6c1657ef2096e7d67364a15aa8f1d4b7 /lib/mpi/mpi-cmp.c
parentdrm/nv4c/mc: disable msi (diff)
downloadkernel-ff4c0d5213b015e60aa87c1352604f10ba9c3e12.tar.gz
kernel-ff4c0d5213b015e60aa87c1352604f10ba9c3e12.zip
drm/nouveau/nouveau: Do not BUG_ON(!spin_is_locked()) on UP
On !SMP systems spinlocks do not exist. Thus checking of they are active will always fail. Use assert_spin_locked(lock); instead of BUG_ON(!spin_is_locked(lock)); to not BUG() on all UP systems. Signed-off-by: Bruno PrĂ©mont <[email protected]> Signed-off-by: Ben Skeggs <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-cmp.c')
0 files changed, 0 insertions, 0 deletions