diff options
author | Bruno Prémont <bonbons@linux-vserver.org> | 2014-12-21 17:43:44 +0100 |
---|---|---|
committer | Rob Clark <robdclark@gmail.com> | 2015-02-01 15:30:25 -0500 |
commit | 925c1e7f716e14c848676ff70a442fe9e80d6e75 (patch) | |
tree | b94f706412df0019e641488d02903ba7cb89d879 /drivers/gpu/drm/msm/edp | |
parent | 475ac0a13dfe108b80fbb89f54414de1a07a0d25 (diff) | |
download | linux-925c1e7f716e14c848676ff70a442fe9e80d6e75.tar.bz2 |
drm/msm: 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 <bonbons@linux-vserver.org>
[robclark: drop stray ')']
Signed-off-by: Rob Clark <robdclark@gmail.com>
Diffstat (limited to 'drivers/gpu/drm/msm/edp')
0 files changed, 0 insertions, 0 deletions