summaryrefslogtreecommitdiff
path: root/linux-core
diff options
context:
space:
mode:
authorDave Airlie <airlied@optimus.localdomain>2006-12-19 16:58:48 +1100
committerDave Airlie <airlied@linux.ie>2006-12-19 17:58:07 +1100
commit6c8712ba8a3c3c2c2fd9dd1ff5ab71e30ecdf50a (patch)
treee1150a31612d1ef638db6c5f015ae2b47e87bf9e /linux-core
parentcb280ad3c0b048fe5b024439af70e9fcc8d04269 (diff)
use spin_lock_init in via dmablit
Diffstat (limited to 'linux-core')
-rw-r--r--linux-core/via_dmablit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux-core/via_dmablit.c b/linux-core/via_dmablit.c
index fdc2bd67..cbb73711 100644
--- a/linux-core/via_dmablit.c
+++ b/linux-core/via_dmablit.c
@@ -562,7 +562,7 @@ via_init_dmablit(drm_device_t *dev)
blitq->num_outstanding = 0;
blitq->is_active = 0;
blitq->aborting = 0;
- blitq->blit_lock = SPIN_LOCK_UNLOCKED;
+ spin_lock_init(&blitq->blit_lock);
for (j=0; j<VIA_NUM_BLIT_SLOTS; ++j) {
DRM_INIT_WAITQUEUE(blitq->blit_queue + j);
}