diff options
author | Jeff Dike <jdike@addtoit.com> | 2006-01-06 03:18:53 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-01-06 11:33:45 -0500 |
commit | d571cd18f225542460b5d9b83e5e0d507be71656 (patch) | |
tree | 2434036d1a068afa831532f71deabcbd47527bc8 /arch/um/include/line.h | |
parent | 88890b88742debb97006df264b653d18acdc80d0 (diff) |
[PATCH] uml: Move mconsole support out of generic code
A bit of restructuring which eliminates the all_allowed argument (which is
mconsole-specific) to line_setup. That logic is moved to the mconsole
callback.
Signed-off-by: Jeff Dike <jdike@addtoit.com>
Cc: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'arch/um/include/line.h')
-rw-r--r-- | arch/um/include/line.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/um/include/line.h b/arch/um/include/line.h index 315788ce59fa..e22c9e0f2d02 100644 --- a/arch/um/include/line.h +++ b/arch/um/include/line.h | |||
@@ -76,8 +76,8 @@ struct lines { | |||
76 | extern void line_close(struct tty_struct *tty, struct file * filp); | 76 | extern void line_close(struct tty_struct *tty, struct file * filp); |
77 | extern int line_open(struct line *lines, struct tty_struct *tty, | 77 | extern int line_open(struct line *lines, struct tty_struct *tty, |
78 | struct chan_opts *opts); | 78 | struct chan_opts *opts); |
79 | extern int line_setup(struct line *lines, unsigned int sizeof_lines, char *init, | 79 | extern int line_setup(struct line *lines, unsigned int sizeof_lines, |
80 | int all_allowed); | 80 | char *init); |
81 | extern int line_write(struct tty_struct *tty, const unsigned char *buf, | 81 | extern int line_write(struct tty_struct *tty, const unsigned char *buf, |
82 | int len); | 82 | int len); |
83 | extern void line_put_char(struct tty_struct *tty, unsigned char ch); | 83 | extern void line_put_char(struct tty_struct *tty, unsigned char ch); |