From: Bruno Prémont Date: Sun, 21 Dec 2014 16:43:31 +0000 (+0100) Subject: drm/nouveau/nouveau: Do not BUG_ON(!spin_is_locked()) on UP X-Git-Tag: omap-for-v4.1/prcm-dts-mfd-syscon-fix~306^2~2^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ff4c0d5213b015e60aa87c1352604f10ba9c3e12;p=pandora-kernel.git drm/nouveau/nouveau: 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 Signed-off-by: Ben Skeggs --- Reading git-diff-tree failed