Revert to Fedora kernel-2.6.17-1.2187_FC5 patched with vs2.0.2.1; there are too many...
[linux-2.6.git] / include / linux / idr.h
index 8268034..f559a71 100644 (file)
@@ -66,7 +66,7 @@ struct idr {
        .id_free        = NULL,                                 \
        .layers         = 0,                                    \
        .id_free_cnt    = 0,                                    \
-       .lock           = __SPIN_LOCK_UNLOCKED(name.lock),      \
+       .lock           = SPIN_LOCK_UNLOCKED,                   \
 }
 #define DEFINE_IDR(name)       struct idr name = IDR_INIT(name)