Re: [PATCH 1/2 (resend)] watchdog: Use DEFINE_SPINLOCK() forstatic spinlocks

From: Wim Van Sebroeck
Date: Tue Nov 29 2011 - 06:25:27 EST


Hi Alex,

> Rather than just defining static spinlock_t variables and then
> initializing them later in init functions, simply define them with
> DEFINE_SPINLOCK() and remove the calls to spin_lock_init().
>
> Cc: Wim Van Sebroeck <wim@xxxxxxxxx>
> Cc: Nicolas Thill <nico@xxxxxxxxxxx>
> Cc: Heiko Ronsdorf <hero@xxxxxxxxxxxxxxxxxxx>
> Cc: Rodolfo Giometti <giometti@xxxxxxxxxxxx>
> Cc: Andrey Panin <pazke@xxxxxxxxx>
> Cc: Guido Guenther <agx@xxxxxxxxxxx>
> Cc: Curt E Bruns <curt.e.bruns@xxxxxxxxx>
> Cc: Deepak Saxena <dsaxena@xxxxxxxxxxx>
> Cc: Andrew Victor <linux@xxxxxxxxxxxx>
> Cc: George G. Davis <gdavis@xxxxxxxxxx>
> Cc: Sylver Bruneau <sylver.bruneau@xxxxxxxxxxxxxx>
> Signed-off-by: Axel Lin <axel.lin@xxxxxxxxx>

Added to the linux-next branch of the watchdog tree.

Kind regards,
Wim.

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