OSDN Git Service
(root)
/
android-x86
/
kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9d7fa40
)
[PATCH] stallion: fix recent SMP locking cleanup
author
Alan Cox
<alan@lxorguk.ukuu.org.uk>
Wed, 28 Jun 2006 11:26:51 +0000
(
04:26
-0700)
committer
Linus Torvalds
<torvalds@g5.osdl.org>
Wed, 28 Jun 2006 21:59:05 +0000
(14:59 -0700)
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>
drivers/char/stallion.c
patch
|
blob
|
history
diff --git
a/drivers/char/stallion.c
b/drivers/char/stallion.c
index
bf361a5
..
00b4a21
100644
(file)
--- 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);