drm/i915: Fix WARN_ON() on UP machines
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Wed, 22 May 2013 08:36:40 +0000 (11:36 +0300)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 23 May 2013 10:51:30 +0000 (12:51 +0200)
commitdf0a67979543e716d411eb11406848dcb50abd0a
treee226f372e98c5673721153afafc50dcd6423d0d9
parenta36689cb771f06819c3fa8139c3d3716dfdf6d53
drm/i915: Fix WARN_ON() on UP machines

WARN_ON(!spin_is_locked()) is not a good idea on a UP system w/o
spinlock debugging. Use WARN_ON_SMP() instead.

This check has been added in

commit 8ba2d18520ce380cf572e9902d9b3b91ece6c2c0
Author: Jani Nikula <jani.nikula@intel.com>
Date:   Fri Apr 12 15:18:37 2013 +0300

    drm/i915: protect backlight registers and data with a spinlock

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: Jani Nikula <jani.nikula@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_panel.c