uml: move SIGIO testing to sigio.c
authorJeff Dike <jdike@addtoit.com>
Sun, 6 May 2007 21:51:06 +0000 (14:51 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Mon, 7 May 2007 19:13:01 +0000 (12:13 -0700)
commitc65badbdf5dc117e45873e760f807063ad59a854
treea83dd52066e3efef9b70c35bec8fccdf9db3d457
parentc5e631cf65f4d6875efcd571275436f2964a8b48
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>
arch/um/include/user_util.h
arch/um/os-Linux/sigio.c
arch/um/os-Linux/start_up.c