use spin_lock_init in via dmablit

main
Dave Airlie 2006-12-19 16:58:48 +11:00 committed by Dave Airlie
parent cb280ad3c0
commit 6c8712ba8a
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}