Skip to content

Commit

Permalink
uml: use __SPIN_LOCK_UNLOCKED
Browse files Browse the repository at this point in the history
From: Robert P. J. Day <rpjday@crashcourse.ca>

Use newer, non-deprecated __SPIN_LOCK_UNLOCKED macro.

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Jeff Dike <jdike@linux.intel.com>
Cc: WANG Cong <xiyou.wangcong@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
  • Loading branch information
Jeff Dike authored and Linus Torvalds committed May 13, 2008
1 parent cfd28f6 commit 5563d72
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions arch/um/include/line.h
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 5563d72

Please sign in to comment.