mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* PATCH: further small stallion fix.
@ 2006-06-27 15:22 Alan Cox
  0 siblings, 0 replies; only message in thread
From: Alan Cox @ 2006-06-27 15:22 UTC (permalink / raw)
  To: akpm, linux-kernel

Signed-off-by: Alan Cox <alan@redhat.com>

Works better on SMP if...

--- linux-2.6.17/drivers/char/stallion.c~	2006-06-27 15:40:12.890919856 +0100
+++ linux-2.6.17/drivers/char/stallion.c	2006-06-27 15:41:29.857219200 +0100
@@ -3029,6 +3029,9 @@
 	int i;
 	printk(KERN_INFO "%s: version %s\n", stl_drvtitle, stl_drvversion);
 
+	spin_lock_init(&stallion_lock);
+	spin_lock_init(&brd_lock);
+	
 	stl_initbrds();
 
 	stl_serial = alloc_tty_driver(STL_MAXBRDS * STL_MAXPORTS);


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2006-06-27 15:05 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-06-27 15:22 PATCH: further small stallion fix Alan Cox

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®