diff options
author | Jeff Dike <jdike@addtoit.com> | 2007-05-06 17:51:06 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-05-07 15:13:01 -0400 |
commit | c65badbdf5dc117e45873e760f807063ad59a854 (patch) | |
tree | a83dd52066e3efef9b70c35bec8fccdf9db3d457 /arch/um/include | |
parent | c5e631cf65f4d6875efcd571275436f2964a8b48 (diff) |
uml: move SIGIO testing to sigio.c
This patch narrows the sigio interface. The boot-time SIGIO testing used to
be in start_up.c, which meant that pty_output_sigio and pty_close_sigio needed
to be global. By moving that code here, those can become static and the
declarations moved from user_util.h.
os_check_bugs is also here because it only does the SIGIO checking. If it
does more, it'll probably move back to start_up.c.
Signed-off-by: Jeff Dike <jdike@linux.intel.com>
Cc: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/um/include')
-rw-r--r-- | arch/um/include/user_util.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/arch/um/include/user_util.h b/arch/um/include/user_util.h index b52bc4084830..df4869aa9406 100644 --- a/arch/um/include/user_util.h +++ b/arch/um/include/user_util.h | |||
@@ -51,9 +51,6 @@ extern unsigned long _stext, _etext, _sdata, _edata, __bss_start, _end; | |||
51 | extern unsigned long _unprotected_end; | 51 | extern unsigned long _unprotected_end; |
52 | extern unsigned long brk_start; | 52 | extern unsigned long brk_start; |
53 | 53 | ||
54 | extern int pty_output_sigio; | ||
55 | extern int pty_close_sigio; | ||
56 | |||
57 | extern void *add_signal_handler(int sig, void (*handler)(int)); | 54 | extern void *add_signal_handler(int sig, void (*handler)(int)); |
58 | extern int linux_main(int argc, char **argv); | 55 | extern int linux_main(int argc, char **argv); |
59 | extern void set_cmdline(char *cmd); | 56 | extern void set_cmdline(char *cmd); |