diff options
| author | Jeff Garzik <jgarzik@pobox.com> | 2005-11-10 04:12:10 -0500 | 
|---|---|---|
| committer | Jeff Garzik <jgarzik@pobox.com> | 2005-11-10 04:12:10 -0500 | 
| commit | 2f67bdb23d74a6c6fd4f98f64239c5c34d1833cc (patch) | |
| tree | fe533abe3e7c400848647b95e4806f5125c654c3 /arch/um/kernel/sigio_user.c | |
| parent | d40d9d29c020f8466c96f8e3ad4b7c014ff1085d (diff) | |
| parent | 3b44f137b9a846c5452d9e6e1271b79b1dbcc942 (diff) | |
Merge branch 'master'
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"); | 
