diff options
Diffstat (limited to 'include/linux/tty.h')
| -rw-r--r-- | include/linux/tty.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/include/linux/tty.h b/include/linux/tty.h index 5dbb3cb05a82..9f47ab540f65 100644 --- a/include/linux/tty.h +++ b/include/linux/tty.h | |||
| @@ -44,7 +44,6 @@ | |||
| 44 | #include <linux/tty_ldisc.h> | 44 | #include <linux/tty_ldisc.h> |
| 45 | #include <linux/mutex.h> | 45 | #include <linux/mutex.h> |
| 46 | 46 | ||
| 47 | #include <asm/system.h> | ||
| 48 | 47 | ||
| 49 | 48 | ||
| 50 | /* | 49 | /* |
| @@ -52,6 +51,7 @@ | |||
| 52 | * hardcoded at present.) | 51 | * hardcoded at present.) |
| 53 | */ | 52 | */ |
| 54 | #define NR_UNIX98_PTY_DEFAULT 4096 /* Default maximum for Unix98 ptys */ | 53 | #define NR_UNIX98_PTY_DEFAULT 4096 /* Default maximum for Unix98 ptys */ |
| 54 | #define NR_UNIX98_PTY_RESERVE 1024 /* Default reserve for main devpts */ | ||
| 55 | #define NR_UNIX98_PTY_MAX (1 << MINORBITS) /* Absolute limit */ | 55 | #define NR_UNIX98_PTY_MAX (1 << MINORBITS) /* Absolute limit */ |
| 56 | 56 | ||
| 57 | /* | 57 | /* |
| @@ -480,10 +480,11 @@ extern void free_tty_struct(struct tty_struct *tty); | |||
| 480 | extern void initialize_tty_struct(struct tty_struct *tty, | 480 | extern void initialize_tty_struct(struct tty_struct *tty, |
| 481 | struct tty_driver *driver, int idx); | 481 | struct tty_driver *driver, int idx); |
| 482 | extern void deinitialize_tty_struct(struct tty_struct *tty); | 482 | extern void deinitialize_tty_struct(struct tty_struct *tty); |
| 483 | extern struct tty_struct *tty_init_dev(struct tty_driver *driver, int idx, | 483 | extern struct tty_struct *tty_init_dev(struct tty_driver *driver, int idx); |
| 484 | int first_ok); | ||
| 485 | extern int tty_release(struct inode *inode, struct file *filp); | 484 | extern int tty_release(struct inode *inode, struct file *filp); |
| 486 | extern int tty_init_termios(struct tty_struct *tty); | 485 | extern int tty_init_termios(struct tty_struct *tty); |
| 486 | extern int tty_standard_install(struct tty_driver *driver, | ||
| 487 | struct tty_struct *tty); | ||
| 487 | 488 | ||
| 488 | extern struct tty_struct *tty_pair_get_tty(struct tty_struct *tty); | 489 | extern struct tty_struct *tty_pair_get_tty(struct tty_struct *tty); |
| 489 | extern struct tty_struct *tty_pair_get_pty(struct tty_struct *tty); | 490 | extern struct tty_struct *tty_pair_get_pty(struct tty_struct *tty); |
