On Sun, Dec 21, 2014 at 11:43 AM, Bruno Prémont
wrote:
> 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.
>
Thanks, I have this queu
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
---
drivers/gpu/drm/msm/mdp/mdp_kms.c | 2 +-
1 file changed, 1 in