projects
/
linux-2.6-microblaze.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
22e6500
)
xtensa: Replace deprecated spinlock initialization
author
Thomas Gleixner
<tglx@linutronix.de>
Sun, 23 Jan 2011 14:23:14 +0000
(15:23 +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: Chris Zankel <chris@zankel.net>
arch/xtensa/include/asm/rwsem.h
patch
|
blob
|
history
diff --git
a/arch/xtensa/include/asm/rwsem.h
b/arch/xtensa/include/asm/rwsem.h
index
e39edf5
..
9d32f68
100644
(file)
--- a/
arch/xtensa/include/asm/rwsem.h
+++ b/
arch/xtensa/include/asm/rwsem.h
@@
-38,7
+38,7
@@
struct rw_semaphore {
};
#define __RWSEM_INITIALIZER(name) \
- { RWSEM_UNLOCKED_VALUE,
SPIN_LOCK_UNLOCKED
, \
+ { RWSEM_UNLOCKED_VALUE,
__SPIN_LOCK_UNLOCKED((name).wait_lock)
, \
LIST_HEAD_INIT((name).wait_list) }
#define DECLARE_RWSEM(name) \