Merge to Fedora kernel-2.6.18-1.2224_FC5 patched with stable patch-2.6.18.1-vs2.0...
[linux-2.6.git] / net / tux / cachemiss.c
index 1a96ab6..240eb90 100644 (file)
@@ -236,7 +236,7 @@ int start_cachemiss_threads (threadinfo_t *ti)
        memset(iot, 0, sizeof(*iot));
 
        iot->ti = ti;
-       iot->async_lock = SPIN_LOCK_UNLOCKED;
+       spin_lock_init(&iot->async_lock);
        iot->nr_async_pending = 0;
        INIT_LIST_HEAD(&iot->async_queue);
        init_waitqueue_head(&iot->async_sleep);