PATCH: further small stallion fix.

From: Alan Cox
Date: Tue Jun 27 2006 - 11:04:24 EST


Signed-off-by: Alan Cox <alan@xxxxxxxxxx>

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);

-
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/