drm/i915: Make dev_priv->mm.wedged an atomic_t
authorBen Gamari <bgamari.foss@gmail.com>
Mon, 14 Sep 2009 21:48:47 +0000 (17:48 -0400)
committerJesse Barnes <jbarnes@virtuousgeek.org>
Thu, 17 Sep 2009 21:36:46 +0000 (14:36 -0700)
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 <bgamari.foss@gmail.com>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>

No differences found