summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichel Dänzer <michel@tungstengraphics.com>2007-07-03 12:33:51 +0200
committerMichel Dänzer <michel@tungstengraphics.com>2007-07-03 12:33:51 +0200
commit91990946fa3f7e8e725af18d1f3a63e0c7892308 (patch)
treeae99d0d76f3f5aa40a4d8fc5010909e23e563ae7
parentea832a8e555c9e1f90830b55cbd970d0eca0e2cf (diff)
One more spinlock initializer cleanup.
-rw-r--r--shared-core/i915_irq.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/shared-core/i915_irq.c b/shared-core/i915_irq.c
index dc00f983..2f6a6b95 100644
--- a/shared-core/i915_irq.c
+++ b/shared-core/i915_irq.c
@@ -719,7 +719,7 @@ void i915_driver_irq_postinstall(drm_device_t * dev)
INIT_LIST_HEAD(&dev_priv->vbl_swaps.head);
dev_priv->swaps_pending = 0;
- dev_priv->user_irq_lock = SPIN_LOCK_UNLOCKED;
+ spin_lock_init(&dev_priv->user_irq_lock);
dev_priv->user_irq_refcount = 0;
i915_enable_interrupt(dev);