From: Mika Kuoppala Date: Thu, 12 Dec 2013 15:54:42 +0000 (+0200) Subject: drm/i915: dont call irq_put when irq test is on X-Git-Tag: v3.14-rc1~47^2~44^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=168c3f2151a7de906b060a335d19b0ba483a6718;p=pandora-kernel.git 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 Reviewed-by: Ville Syrjälä Signed-off-by: Daniel Vetter --- Reading git-diff-tree failed