]> git.karo-electronics.de Git - mv-sheeva.git/blobdiff - arch/um/os-Linux/irq.c
[PATCH] uml: fix style violations
[mv-sheeva.git] / arch / um / os-Linux / irq.c
index 64c114b02701c1f5fe1a9e8e971069f0afe71145..d46b818c1311258934679b82fdd0685afeaecbca 100644 (file)
@@ -18,6 +18,7 @@
 #include "sigio.h"
 #include "irq_user.h"
 #include "os.h"
+#include "um_malloc.h"
 
 static struct pollfd *pollfds = NULL;
 static int pollfds_num = 0;
@@ -52,11 +53,6 @@ int os_waiting_for_events(struct irq_fd *active_fds)
        return n;
 }
 
-int os_isatty(int fd)
-{
-       return isatty(fd);
-}
-
 int os_create_pollfd(int fd, int events, void *tmp_pfd, int size_tmpfds)
 {
        if (pollfds_num == pollfds_size) {
@@ -137,7 +133,7 @@ void os_set_pollfd(int i, int fd)
 
 void os_set_ioignore(void)
 {
-       set_handler(SIGIO, SIG_IGN, 0, -1);
+       signal(SIGIO, SIG_IGN);
 }
 
 void init_irq_signals(int on_sigstack)