[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
@ -3029,6 +3029,9 @@ static int __init stl_init(void)
|
||||
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);
|
||||
|
Loading…
Reference in New Issue
Block a user