Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5563d722 authored by Jeff Dike's avatar Jeff Dike Committed by Linus Torvalds
Browse files

uml: use __SPIN_LOCK_UNLOCKED



From: Robert P. J. Day <rpjday@crashcourse.ca>

Use newer, non-deprecated __SPIN_LOCK_UNLOCKED macro.

Signed-off-by: default avatarRobert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: default avatarJeff Dike <jdike@linux.intel.com>
Cc: WANG Cong <xiyou.wangcong@gmail.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent cfd28f66
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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);