Skip to contentSkip to conversation

SPIN_LOCK_UNLOCKED

DISCUSSION Luca Falavigna 2 participants 2 messages Mar 24, 2006 – Mar 26, 2006

lore
Share & tools
lore
#0 lore raw

Hi,
I noticed you recently changed the way you handle SPIN_LOCK_UNLOCKED macro. Former version was something like that:

#define SPIN_LOCK_UNLOCKED(lockname) \
	(spinlock_t) { { __SPIN_LOCK_UNLOCKED(lockname) } }

while current version is:

# define SPIN_LOCK_UNLOCKED \
	(spinlock_t) { { __SPIN_LOCK_UNLOCKED } }

I noticed your 2.6.16-rt6 patch includes two calls to SPIN_LOCK_UNLOCKED(lockname) macro, the first one in arch/powerpc/kernel/rtas.c and the last one in include/asm-powerpc/rwsem.h.
Is this the right behaviour?

Regards,

--
Luca

#1 lore raw
Quoted 5 lines · Luca Falavigna

I noticed your 2.6.16-rt6 patch includes two calls to SPIN_LOCK_UNLOCKED(lockname) macro, the first one in arch/powerpc/kernel/rtas.c and the last one in include/asm-powerpc/rwsem.h.
Is this the right behaviour?

you are right - i removed these leftovers from my tree.

Ingo