diff options
Diffstat (limited to 'arch/um/kernel/sigio_user.c')
-rw-r--r-- | arch/um/kernel/sigio_user.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/um/kernel/sigio_user.c b/arch/um/kernel/sigio_user.c index a52751108aa1..48b1f644b9a6 100644 --- a/arch/um/kernel/sigio_user.c +++ b/arch/um/kernel/sigio_user.c | |||
@@ -18,7 +18,6 @@ | |||
18 | #include "kern_util.h" | 18 | #include "kern_util.h" |
19 | #include "user_util.h" | 19 | #include "user_util.h" |
20 | #include "sigio.h" | 20 | #include "sigio.h" |
21 | #include "helper.h" | ||
22 | #include "os.h" | 21 | #include "os.h" |
23 | 22 | ||
24 | /* Changed during early boot */ | 23 | /* Changed during early boot */ |
@@ -225,7 +224,7 @@ static int need_poll(int n) | |||
225 | next_poll.used = n; | 224 | next_poll.used = n; |
226 | return(0); | 225 | return(0); |
227 | } | 226 | } |
228 | if(next_poll.poll != NULL) kfree(next_poll.poll); | 227 | kfree(next_poll.poll); |
229 | next_poll.poll = um_kmalloc_atomic(n * sizeof(struct pollfd)); | 228 | next_poll.poll = um_kmalloc_atomic(n * sizeof(struct pollfd)); |
230 | if(next_poll.poll == NULL){ | 229 | if(next_poll.poll == NULL){ |
231 | printk("need_poll : failed to allocate new pollfds\n"); | 230 | printk("need_poll : failed to allocate new pollfds\n"); |