diff options
Diffstat (limited to 'arch/um/kernel')
-rw-r--r-- | arch/um/kernel/sigio_user.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/um/kernel/sigio_user.c b/arch/um/kernel/sigio_user.c index 3fbfd956bfe7..48b1f644b9a6 100644 --- a/arch/um/kernel/sigio_user.c +++ b/arch/um/kernel/sigio_user.c | |||
@@ -224,7 +224,7 @@ static int need_poll(int n) | |||
224 | next_poll.used = n; | 224 | next_poll.used = n; |
225 | return(0); | 225 | return(0); |
226 | } | 226 | } |
227 | if(next_poll.poll != NULL) kfree(next_poll.poll); | 227 | kfree(next_poll.poll); |
228 | next_poll.poll = um_kmalloc_atomic(n * sizeof(struct pollfd)); | 228 | next_poll.poll = um_kmalloc_atomic(n * sizeof(struct pollfd)); |
229 | if(next_poll.poll == NULL){ | 229 | if(next_poll.poll == NULL){ |
230 | printk("need_poll : failed to allocate new pollfds\n"); | 230 | printk("need_poll : failed to allocate new pollfds\n"); |