linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] RT: epca_lock to DEFINE_SPINLOCK
@ 2005-09-27 18:32 Daniel Walker
  2005-09-27 22:34 ` Thomas Gleixner
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Daniel Walker @ 2005-09-27 18:32 UTC (permalink / raw)
  To: mingo; +Cc: linux-kernel


Convert epca_lock to the new syntax.

Signed-Off-By: Daniel Walker <dwalker@mvista.com>

Index: linux-2.6.13/drivers/char/epca.c
===================================================================
--- linux-2.6.13.orig/drivers/char/epca.c
+++ linux-2.6.13/drivers/char/epca.c
@@ -80,7 +80,7 @@ static int invalid_lilo_config;
 /* The ISA boards do window flipping into the same spaces so its only sane
    with a single lock. It's still pretty efficient */
 
-static spinlock_t epca_lock = SPIN_LOCK_UNLOCKED;
+static DEFINE_SPINLOCK(epca_lock);
 
 /* -----------------------------------------------------------------------
 	MAXBOARDS is typically 12, but ISA and EISA cards are restricted to 



^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2005-09-29  6:49 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-09-27 18:32 [PATCH] RT: epca_lock to DEFINE_SPINLOCK Daniel Walker
2005-09-27 22:34 ` Thomas Gleixner
2005-09-28  9:33 ` Ingo Molnar
2005-09-28  9:39 ` Arjan van de Ven
2005-09-28 15:54   ` Daniel Walker
2005-09-28 16:06   ` Roland Dreier
2005-09-28 20:43     ` Nikita Danilov
2005-09-29  6:49       ` Steven Rostedt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).