projects
/
deliverable
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
tty: localise the lock
[deliverable/linux.git]
/
drivers
/
tty
/
synclink_gt.c
diff --git
a/drivers/tty/synclink_gt.c
b/drivers/tty/synclink_gt.c
index f02d18a391e5b510af4a2a66bc49f7f6ceb67809..913025369fe783a4eb388400e31c6ce6d981d86e 100644
(file)
--- a/
drivers/tty/synclink_gt.c
+++ b/
drivers/tty/synclink_gt.c
@@
-3336,9
+3336,9
@@
static int block_til_ready(struct tty_struct *tty, struct file *filp,
}
DBGINFO(("%s block_til_ready wait\n", tty->driver->name));
- tty_unlock();
+ tty_unlock(
tty
);
schedule();
- tty_lock();
+ tty_lock(
tty
);
}
set_current_state(TASK_RUNNING);
This page took
0.027089 seconds
and
5
git commands to generate.