Messages in this thread | | | Date | Wed, 9 Mar 2005 14:50:44 -0800 | From | Andrew Morton <> | Subject | Re: [patch 1/1] unified spinlock initialization arch/um/drivers/port_kern.c |
| |
Russell King <rmk+lkml@arm.linux.org.uk> wrote: > > I'm not convinced about the practicality of converting all static > initialisations to code-based initialisations though
This is the first one I recall seeing. All the other conversions were replacing
static spinlock_t lock = SPIN_LOCK_UNLOCKED;
with static DEFINE_SPINLOCK(lock);
and replacing
{ lock = SPIN_LOCK_UNLOCKED; }
with
{ spin_lock_init(lock); }
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |