diff options
author | Alan Cox <alan@lxorguk.ukuu.org.uk> | 2006-06-28 11:26:51 (GMT) |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-06-28 21:59:05 (GMT) |
commit | effc8b704b48c3c727715abf49592a57547b6818 (patch) | |
tree | 7c375802aa0f36b5498ffa52f74d23c6422ad479 /drivers/char | |
parent | 9d7fa40098253a6768cfc3ffbbd5988ba852d364 (diff) | |
download | linux-fsl-qoriq-effc8b704b48c3c727715abf49592a57547b6818.tar.xz |
[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')
-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 bf361a5..00b4a21 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); |