On Thu, 2007-09-27 at 23:36 +0200, roel wrote: > Replace some SPIN_LOCK_UNLOCKED with DEFINE_SPINLOCK > > Signed-off-by: Roel Kluin <[EMAIL PROTECTED]>
Acked-by: Thomas Gleixner <[EMAIL PROTECTED]> Andy, Randy, can we please add this to checkpatch.pl ? > -spinlock_t bpci_lock = SPIN_LOCK_UNLOCKED; > +DEFINE_SPINLOCK(bpci_lock); This code was introduced in June 2007, almost two years after the first big DEFINE_SPINLOCK cleanup. Sigh. Thanks, tglx - 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/