]> err.no Git - linux-2.6/blobdiff - arch/um/include/line.h
flag parameters: fix compile error of sys_epoll_create1
[linux-2.6] / arch / um / include / line.h
index 979b73e6352d1995e4a928d3b2d26350875a9034..311a0d3d93af2302224e9b9d6b76614643a23a67 100644 (file)
@@ -58,11 +58,11 @@ struct line {
 };
 
 #define LINE_INIT(str, d) \
-       { .count_lock = SPIN_LOCK_UNLOCKED, \
+       { .count_lock = __SPIN_LOCK_UNLOCKED((str).count_lock), \
          .init_str =   str,    \
          .init_pri =   INIT_STATIC, \
          .valid =      1, \
-         .lock =       SPIN_LOCK_UNLOCKED, \
+         .lock =       __SPIN_LOCK_UNLOCKED((str).lock), \
          .driver =     d }
 
 extern void line_close(struct tty_struct *tty, struct file * filp);