lkml.org 
[lkml]   [2005]   [Mar]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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/

\
 
 \ /
  Last update: 2005-03-22 14:11    [W:0.131 / U:0.056 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site