From: Jeff Dike Date: Mon, 12 May 2008 21:01:54 +0000 (-0700) Subject: uml: use __SPIN_LOCK_UNLOCKED X-Git-Tag: v2.6.26-rc3~117 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=5563d722bfc73f27423fcb76240bfc1fb4284635;p=linux-2.6-omap-h63xx.git uml: use __SPIN_LOCK_UNLOCKED From: Robert P. J. Day Use newer, non-deprecated __SPIN_LOCK_UNLOCKED macro. Signed-off-by: Robert P. J. Day Signed-off-by: Jeff Dike Cc: WANG Cong Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/arch/um/include/line.h b/arch/um/include/line.h index 979b73e6352..311a0d3d93a 100644 --- a/arch/um/include/line.h +++ b/arch/um/include/line.h @@ -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);