mirror of
https://github.com/FEX-Emu/linux.git
synced 2024-12-22 17:33:01 +00:00
drm/omap: do not use BUG_ON(!spin_is_locked(x))
spin_is_locked(x) returns always 0 on uniprocessor, triggering BUG() in omapdrm. Change it to use assert_spin_locked() to fix the issue. Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
This commit is contained in:
parent
ef42228388
commit
8519c62ce6
@ -34,7 +34,7 @@ static void omap_irq_update(struct drm_device *dev)
|
||||
struct omap_drm_irq *irq;
|
||||
uint32_t irqmask = priv->vblank_mask;
|
||||
|
||||
BUG_ON(!spin_is_locked(&list_lock));
|
||||
assert_spin_locked(&list_lock);
|
||||
|
||||
list_for_each_entry(irq, &priv->irq_list, node)
|
||||
irqmask |= irq->irqmask;
|
||||
|
Loading…
Reference in New Issue
Block a user