i915: Fix scheduled buffer swaps.

One instance of unlocking a spinlock was converted incorrectly when this code
was fixed to build on BSD.
main
Michel Dänzer 2007-09-18 20:55:43 +01:00
parent a3881ad2fe
commit 78d111fa96
1 changed files with 1 additions and 1 deletions

View File

@ -188,7 +188,7 @@ static void i915_vblank_tasklet(struct drm_device *dev)
DRM_SPINLOCK(&dev_priv->swaps_lock);
}
DRM_SPINUNLOCK(&dev->drw_lock);
DRM_SPINUNLOCK(&dev_priv->swaps_lock);
if (nhits == 0) {
return;