projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
drm/nouveau/nouveau: Do not BUG_ON(!spin_is_locked()) on UP
[cascardo/linux.git]
/
drivers
/
gpu
/
drm
/
nouveau
/
core
/
core
/
notify.c
diff --git
a/drivers/gpu/drm/nouveau/core/core/notify.c
b/drivers/gpu/drm/nouveau/core/core/notify.c
index
d1bcde5
..
839a325
100644
(file)
--- a/
drivers/gpu/drm/nouveau/core/core/notify.c
+++ b/
drivers/gpu/drm/nouveau/core/core/notify.c
@@
-98,7
+98,7
@@
nvkm_notify_send(struct nvkm_notify *notify, void *data, u32 size)
struct nvkm_event *event = notify->event;
unsigned long flags;
-
BUG_ON(!spin_is_locked(&event->list_lock)
);
+
assert_spin_locked(&event->list_lock
);
BUG_ON(size != notify->size);
spin_lock_irqsave(&event->refs_lock, flags);