* [patch 13/16] sh: Replace old style lock initializer [not found] <20091106223547.784916750@linutronix.de> @ 2009-11-06 22:42 ` Thomas Gleixner 2009-11-09 1:49 ` Paul Mundt 0 siblings, 1 reply; 2+ messages in thread From: Thomas Gleixner @ 2009-11-06 22:42 UTC (permalink / raw) To: LKML; +Cc: Ingo Molnar, Peter Zijlstra, Paul Mundt, linux-sh SPIN_LOCK_UNLOCKED is deprecated. Use __SPIN_LOCK_UNLOCKED instead. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Cc: Paul Mundt <lethal@linux-sh.org> Cc: linux-sh@vger.kernel.org --- arch/sh/include/asm/rwsem.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Index: linux-2.6/arch/sh/include/asm/rwsem.h =================================--- linux-2.6.orig/arch/sh/include/asm/rwsem.h +++ linux-2.6/arch/sh/include/asm/rwsem.h @@ -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) } ^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [patch 13/16] sh: Replace old style lock initializer 2009-11-06 22:42 ` [patch 13/16] sh: Replace old style lock initializer Thomas Gleixner @ 2009-11-09 1:49 ` Paul Mundt 0 siblings, 0 replies; 2+ messages in thread From: Paul Mundt @ 2009-11-09 1:49 UTC (permalink / raw) To: Thomas Gleixner; +Cc: LKML, Ingo Molnar, Peter Zijlstra, linux-sh On Fri, Nov 06, 2009 at 10:42:05PM -0000, Thomas Gleixner wrote: > SPIN_LOCK_UNLOCKED is deprecated. Use __SPIN_LOCK_UNLOCKED instead. > > Signed-off-by: Thomas Gleixner <tglx@linutronix.de> > Cc: Paul Mundt <lethal@linux-sh.org> > Cc: linux-sh@vger.kernel.org Applied, thanks. ^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-11-09 1:49 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <20091106223547.784916750@linutronix.de>
2009-11-06 22:42 ` [patch 13/16] sh: Replace old style lock initializer Thomas Gleixner
2009-11-09 1:49 ` Paul Mundt
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox