Russell King <[EMAIL PROTECTED]> 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);
}
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
User-mode-linux-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel