diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2011-01-23 15:21:25 +0100 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2011-01-27 12:30:37 +0100 |
commit | 22e650045899011b028e40625bc73df9f3260bac (patch) | |
tree | e5738b4152ab94fa8ec500d6a2b4225549785108 /arch/um/drivers/ubd_kern.c | |
parent | sparc: Replace deprecated spinlock initialization (diff) | |
download | linux-22e650045899011b028e40625bc73df9f3260bac.tar.xz linux-22e650045899011b028e40625bc73df9f3260bac.zip |
um: Replace deprecated spinlock initialization
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>
Diffstat (limited to 'arch/um/drivers/ubd_kern.c')
-rw-r--r-- | arch/um/drivers/ubd_kern.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/um/drivers/ubd_kern.c b/arch/um/drivers/ubd_kern.c index ba4a98ba39c0..620f5b70957d 100644 --- 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, \ |