From c65badbdf5dc117e45873e760f807063ad59a854 Mon Sep 17 00:00:00 2001 From: Jeff Dike Date: Sun, 6 May 2007 14:51:06 -0700 Subject: 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 Cc: Paolo 'Blaisorblade' Giarrusso Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- arch/um/include/user_util.h | 3 --- 1 file changed, 3 deletions(-) (limited to 'arch/um/include/user_util.h') diff --git a/arch/um/include/user_util.h b/arch/um/include/user_util.h index b52bc408483..df4869aa940 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; extern unsigned long _unprotected_end; extern unsigned long brk_start; -extern int pty_output_sigio; -extern int pty_close_sigio; - extern void *add_signal_handler(int sig, void (*handler)(int)); extern int linux_main(int argc, char **argv); extern void set_cmdline(char *cmd); -- cgit v1.2.3