Commit effc8b70 authored by Alan Cox's avatar Alan Cox Committed by Linus Torvalds

[PATCH] stallion: fix recent SMP locking cleanup

Works better on SMP if...
Signed-off-by: default avatarAlan Cox <alan@redhat.com>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 9d7fa400
...@@ -3029,6 +3029,9 @@ static int __init stl_init(void) ...@@ -3029,6 +3029,9 @@ static int __init stl_init(void)
int i; int i;
printk(KERN_INFO "%s: version %s\n", stl_drvtitle, stl_drvversion); printk(KERN_INFO "%s: version %s\n", stl_drvtitle, stl_drvversion);
spin_lock_init(&stallion_lock);
spin_lock_init(&brd_lock);
stl_initbrds(); stl_initbrds();
stl_serial = alloc_tty_driver(STL_MAXBRDS * STL_MAXPORTS); stl_serial = alloc_tty_driver(STL_MAXBRDS * STL_MAXPORTS);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment