Thread (4 messages) 4 messages, 4 authors, 2011-07-23

Re: [PATCH] rtc-tegra: properly initialize spinlock

From: Thomas Gleixner <hidden>
Date: 2011-07-23 07:29:24
Also in: lkml

On Fri, 22 Jul 2011, Sven-Thorsten Dietrich wrote:
On Jul 22, 2011, at 3:13 PM, Andrew Morton wrote:
quoted
On Fri, 22 Jul 2011 10:35:56 +0200
Uwe Kleine-K__nig [off-list ref] wrote:
quoted
Using __SPIN_LOCK_UNLOCKED for a dynamically allocated lock is wrong and
breaks with PREEMPT_RT_FULL.
Please define "breaks".  Lockdep warnings?  Deadlocks?
Narrr, I think its a compile-time problem with the static initializer.
Correct. The macro expansion magic of the static initializer barfs and
with lockdep the lockdep key assignment is missing.

Thanks,

	tglx
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help