]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/linux/idr.h
sanitize linux/isdn_divertif.h for userspace
[linux-2.6-omap-h63xx.git] / include / linux / idr.h
index f559a719dbe8ac215c114621a07cd4e6b7e0270c..826803449db7982063c831fc29196f3ce5c3377e 100644 (file)
@@ -66,7 +66,7 @@ struct idr {
        .id_free        = NULL,                                 \
        .layers         = 0,                                    \
        .id_free_cnt    = 0,                                    \
-       .lock           = SPIN_LOCK_UNLOCKED,                   \
+       .lock           = __SPIN_LOCK_UNLOCKED(name.lock),      \
 }
 #define DEFINE_IDR(name)       struct idr name = IDR_INIT(name)