[PATCH] stallion: fix recent SMP locking cleanup
Works better on SMP if... Signed-off-by: Alan Cox <alan@redhat.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
parent
9d7fa40098
commit
effc8b704b
1 changed files with 3 additions and 0 deletions
|
@ -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);
|
||||||
|
|
Reference in a new issue