projects
/
deliverable
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
24774fb
)
um: Replace deprecated spinlock initialization
author
Thomas Gleixner
<tglx@linutronix.de>
Sun, 23 Jan 2011 14:21:25 +0000
(15:21 +0100)
committer
Thomas Gleixner
<tglx@linutronix.de>
Thu, 27 Jan 2011 11:30:37 +0000
(12:30 +0100)
SPIN_LOCK_UNLOCK is deprecated. Use the lockdep capable variant
instead.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: Jeff Dike <jdike@addtoit.com>
arch/um/drivers/ubd_kern.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/um/drivers/ubd_kern.c
b/arch/um/drivers/ubd_kern.c
index ba4a98ba39c0322989f32deaf36f7df990cd61f9..620f5b70957d55c4001a31fc9b9682a2e4feb687 100644
(file)
--- a/
arch/um/drivers/ubd_kern.c
+++ b/
arch/um/drivers/ubd_kern.c
@@
-185,7
+185,7
@@
struct ubd {
.no_cow = 0, \
.shared = 0, \
.cow = DEFAULT_COW, \
- .lock =
SPIN_LOCK_UNLOCKED,
\
+ .lock =
__SPIN_LOCK_UNLOCKED(ubd_devs.lock),
\
.request = NULL, \
.start_sg = 0, \
.end_sg = 0, \
This page took
0.026034 seconds
and
5
git commands to generate.