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:
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
|
blame
|
history
diff --git
a/arch/xtensa/include/asm/rwsem.h
b/arch/xtensa/include/asm/rwsem.h
index e39edf5c86f2da432c181f1e503c787137e4c623..9d32f687439396beedfe2757c0287d345769103e 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) \
This page took
0.025238 seconds
and
5
git commands to generate.