diff options
author | Alan Cox <alan@linux.intel.com> | 2009-11-30 08:18:29 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-12-11 18:18:08 -0500 |
commit | eeb89d918c2fa2b809e464136bbafdaec2aacb30 (patch) | |
tree | d811f53e0182c40a793b948e72739040670f97c8 /include/linux | |
parent | e8c62103fd5fecc8d2086bae244b32d089892175 (diff) |
tty: push the BKL down into the handlers a bit
Start trying to untangle the remaining BKL mess
Updated to fix missing unlock_kernel noted by Dan Carpenter
Signed-off-by: Alan "I must be out of my tree" Cox <alan@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'include/linux')
-rw-r--r-- | include/linux/tty.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/tty.h b/include/linux/tty.h index e6da667ba34d..405a9035fe40 100644 --- a/include/linux/tty.h +++ b/include/linux/tty.h | |||
@@ -449,7 +449,7 @@ extern void initialize_tty_struct(struct tty_struct *tty, | |||
449 | struct tty_driver *driver, int idx); | 449 | struct tty_driver *driver, int idx); |
450 | extern struct tty_struct *tty_init_dev(struct tty_driver *driver, int idx, | 450 | extern struct tty_struct *tty_init_dev(struct tty_driver *driver, int idx, |
451 | int first_ok); | 451 | int first_ok); |
452 | extern void tty_release_dev(struct file *filp); | 452 | extern int tty_release(struct inode *inode, struct file *filp); |
453 | extern int tty_init_termios(struct tty_struct *tty); | 453 | extern int tty_init_termios(struct tty_struct *tty); |
454 | 454 | ||
455 | extern struct tty_struct *tty_pair_get_tty(struct tty_struct *tty); | 455 | extern struct tty_struct *tty_pair_get_tty(struct tty_struct *tty); |