Pull up following revision(s) (requested by riastradh in ticket #99):

sys/external/bsd/drm2/dist/drm/i915/i915_irq.c: revision 1.9
Lock irq_lock around i915_error_wake_up in i915_error_work_func.
This commit is contained in:
snj 2014-09-21 18:11:37 +00:00
parent ef80c615f1
commit bd1d34ddce
1 changed files with 2 additions and 0 deletions

View File

@ -2250,7 +2250,9 @@ static void i915_error_work_func(struct work_struct *work)
* Note: The wake_up also serves as a memory barrier so that
* waiters see the update value of the reset counter atomic_t.
*/
spin_lock(&dev_priv->irq_lock);
i915_error_wake_up(dev_priv, true);
spin_unlock(&dev_priv->irq_lock);
}
}