aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/i915/intel_uncore.c
diff options
context:
space:
mode:
authorMika Kuoppala <mika.kuoppala@linux.intel.com>2013-12-12 17:54:42 +0200
committerDaniel Vetter <daniel.vetter@ffwll.ch>2013-12-12 22:58:44 +0100
commit168c3f2151a7de906b060a335d19b0ba483a6718 (patch)
treea16a98d2681502b96962bdc8a4435dcae67e3a49 /drivers/gpu/drm/i915/intel_uncore.c
parent993495ae992c91e98ade8fbe977c57bfd81910c1 (diff)
drm/i915: dont call irq_put when irq test is on
If test is running, irq_get was not called so we should gain balance by not doing irq_put "So the rule is: if you access unlocked values, you use ACCESS_ONCE(). You don't say "but it can't matter". Because you simply don't know." -- Linus v2: use local variable so it can't change during test (Chris) v3: update commit msg and use ACCESS_ONCE (Ville) Signed-off-by: Mika Kuoppala <mika.kuoppala@intel.com> Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'drivers/gpu/drm/i915/intel_uncore.c')
0 files changed, 0 insertions, 0 deletions