[PATCH] more SPIN_LOCK_UNLOCKED -> DEFINE_SPINLOCK conversions
[linux-3.10.git] / fs / xfs / support / ktrace.c
index 3dae14c..fa8394f 100644 (file)
@@ -170,7 +170,7 @@ ktrace_enter(
        void            *val14,
        void            *val15)
 {
-       static lock_t   wrap_lock = SPIN_LOCK_UNLOCKED;
+       static DEFINE_SPINLOCK(wrap_lock);
        unsigned long   flags;
        int             index;
        ktrace_entry_t  *ktep;