From: Ben Gamari Date: Mon, 14 Sep 2009 21:48:47 +0000 (-0400) Subject: drm/i915: Make dev_priv->mm.wedged an atomic_t X-Git-Tag: v2.6.32-rc1~52^2~29 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ba1234d17b3b1fe7087defb191a3c705f208aca6;p=pandora-kernel.git drm/i915: Make dev_priv->mm.wedged an atomic_t There is a very real possibility that multiple CPUs will notice that the GPU is wedged. This introduces all sorts of potential race conditions. Make the wedged flag atomic to mitigate this risk. Signed-off-by: Ben Gamari Signed-off-by: Jesse Barnes --- Reading git-diff-tree failed