diff options
Diffstat (limited to 'drivers/tty/tty_io.c')
-rw-r--r-- | drivers/tty/tty_io.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/tty/tty_io.c b/drivers/tty/tty_io.c index 936a4ead6c21..d7d50b48287e 100644 --- a/drivers/tty/tty_io.c +++ b/drivers/tty/tty_io.c | |||
@@ -2134,7 +2134,7 @@ done: | |||
2134 | * actually has driver level meaning and triggers a VC resize. | 2134 | * actually has driver level meaning and triggers a VC resize. |
2135 | * | 2135 | * |
2136 | * Locking: | 2136 | * Locking: |
2137 | * Driver dependant. The default do_resize method takes the | 2137 | * Driver dependent. The default do_resize method takes the |
2138 | * tty termios mutex and ctrl_lock. The console takes its own lock | 2138 | * tty termios mutex and ctrl_lock. The console takes its own lock |
2139 | * then calls into the default method. | 2139 | * then calls into the default method. |
2140 | */ | 2140 | */ |
@@ -2155,7 +2155,7 @@ static int tiocswinsz(struct tty_struct *tty, struct winsize __user *arg) | |||
2155 | * tioccons - allow admin to move logical console | 2155 | * tioccons - allow admin to move logical console |
2156 | * @file: the file to become console | 2156 | * @file: the file to become console |
2157 | * | 2157 | * |
2158 | * Allow the adminstrator to move the redirected console device | 2158 | * Allow the administrator to move the redirected console device |
2159 | * | 2159 | * |
2160 | * Locking: uses redirect_lock to guard the redirect information | 2160 | * Locking: uses redirect_lock to guard the redirect information |
2161 | */ | 2161 | */ |
@@ -2290,7 +2290,7 @@ EXPORT_SYMBOL_GPL(tty_get_pgrp); | |||
2290 | /** | 2290 | /** |
2291 | * tiocgpgrp - get process group | 2291 | * tiocgpgrp - get process group |
2292 | * @tty: tty passed by user | 2292 | * @tty: tty passed by user |
2293 | * @real_tty: tty side of the tty pased by the user if a pty else the tty | 2293 | * @real_tty: tty side of the tty passed by the user if a pty else the tty |
2294 | * @p: returned pid | 2294 | * @p: returned pid |
2295 | * | 2295 | * |
2296 | * Obtain the process group of the tty. If there is no process group | 2296 | * Obtain the process group of the tty. If there is no process group |
@@ -2367,7 +2367,7 @@ out_unlock: | |||
2367 | /** | 2367 | /** |
2368 | * tiocgsid - get session id | 2368 | * tiocgsid - get session id |
2369 | * @tty: tty passed by user | 2369 | * @tty: tty passed by user |
2370 | * @real_tty: tty side of the tty pased by the user if a pty else the tty | 2370 | * @real_tty: tty side of the tty passed by the user if a pty else the tty |
2371 | * @p: pointer to returned session id | 2371 | * @p: pointer to returned session id |
2372 | * | 2372 | * |
2373 | * Obtain the session id of the tty. If there is no session | 2373 | * Obtain the session id of the tty. If there is no session |