lkml.org 
[lkml]   [2006]   [Jun]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
SubjectPATCH: further small stallion fix.
From
Date
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);
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2006-06-27 17:08    [W:0.306 / U:0.036 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site