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 | |
parent | 24774fbdeab8f6ac05a19e81bd645b0f7e5d2bb7 (diff) | |
download | linux-3.10-22e650045899011b028e40625bc73df9f3260bac.tar.gz linux-3.10-22e650045899011b028e40625bc73df9f3260bac.tar.bz2 linux-3.10-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')
-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 ba4a98ba39c..620f5b70957 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, \ |