[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20071024001052.4290adc7.akpm@linux-foundation.org>
Date: Wed, 24 Oct 2007 00:10:52 -0700
From: Andrew Morton <akpm@...ux-foundation.org>
To: Jiri Slaby <jirislaby@...il.com>
Cc: Jeff Garzik <jeff@...zik.org>, LKML <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH 4/12] riscom8: fix SMP brokenness
On Wed, 24 Oct 2007 08:47:23 +0200 Jiri Slaby <jirislaby@...il.com> wrote:
> > +static spinlock_t riscom_lock = SPIN_LOCK_UNLOCKED;
>
> This is deprecated (see linux/spinlock_types.h for details), use DEFINE_SPINLOCK
> instead, otherwise seems OK.
Hey, if only we had a little perl script to check stuff like that.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists