diff options
author | Alan Cox <alan@lxorguk.ukuu.org.uk> | 2006-06-28 04:26:51 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-06-28 14:59:05 -0700 |
commit | effc8b704b48c3c727715abf49592a57547b6818 (patch) | |
tree | 7c375802aa0f36b5498ffa52f74d23c6422ad479 /drivers/char/stallion.c | |
parent | 9d7fa40098253a6768cfc3ffbbd5988ba852d364 (diff) |
[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>
Diffstat (limited to 'drivers/char/stallion.c')
-rw-r--r-- | drivers/char/stallion.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/char/stallion.c b/drivers/char/stallion.c index bf361a5ba70d..00b4a2187164 100644 --- a/drivers/char/stallion.c +++ b/drivers/char/stallion.c @@ -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); |