UML - use __SPIN_LOCK_UNLOCKED
PATCH 15/19 UML - use __SPIN_LOCK_UNLOCKED
From: Robert P. J. Day <[email protected]>
Use newer, non-deprecated __SPIN_LOCK_UNLOCKED macro.
Signed-off-by Robert P. J. Day <[email protected]>
Signed-off-by Jeff Dike <[email protected]>
--- arch/um/include/line.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
arch/um/include/line.h +2 -2
@@ -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);
-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
User-mode-linux-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel