git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4761703
)
drm/nouveau/nouveau: Do not BUG_ON(!spin_is_locked()) on UP
author
Bruno Prémont
<bonbons@linux-vserver.org>
Sun, 21 Dec 2014 16:43:31 +0000
(17:43 +0100)
committer
Ben Skeggs
<bskeggs@redhat.com>
Sun, 21 Dec 2014 22:37:38 +0000
(08:37 +1000)
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>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
No differences found