Skip to content

Commit

Permalink
sh: Replace old style lock initializer
Browse files Browse the repository at this point in the history
SPIN_LOCK_UNLOCKED is deprecated. Use __SPIN_LOCK_UNLOCKED instead.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: linux-sh@vger.kernel.org
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
  • Loading branch information
Thomas Gleixner authored and Paul Mundt committed Nov 9, 2009
1 parent a9d244a commit 969e46a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/sh/include/asm/rwsem.h
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ struct rw_semaphore {
#endif

#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) \
__RWSEM_DEP_MAP_INIT(name) }

Expand Down

0 comments on commit 969e46a

Please sign in to comment.