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);
        }

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to