* [PATCH 15/19] UML - use __SPIN_LOCK_UNLOCKED
@ 2008-04-25 17:56 Jeff Dike
0 siblings, 0 replies; only message in thread
From: Jeff Dike @ 2008-04-25 17:56 UTC (permalink / raw)
To: Andrew Morton, LKML, uml-devel; +Cc: Robert P. J. Day
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>
---
arch/um/include/line.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
Index: linux-2.6.22/arch/um/include/line.h
===================================================================
--- linux-2.6.22.orig/arch/um/include/line.h 2007-07-08 19:32:17.000000000 -0400
+++ linux-2.6.22/arch/um/include/line.h 2008-03-17 13:42:36.000000000 -0400
@@ -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);
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2008-04-25 18:04 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-04-25 17:56 [PATCH 15/19] UML - use __SPIN_LOCK_UNLOCKED Jeff Dike
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®