diff options
Diffstat (limited to 'arch/um/drivers/net_user.c')
-rw-r--r-- | arch/um/drivers/net_user.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/um/drivers/net_user.c b/arch/um/drivers/net_user.c index 6fa948ba969d..da946e3e1bf2 100644 --- a/arch/um/drivers/net_user.c +++ b/arch/um/drivers/net_user.c | |||
@@ -217,7 +217,7 @@ static void change(char *dev, char *what, unsigned char *addr, | |||
217 | netmask[2], netmask[3]); | 217 | netmask[2], netmask[3]); |
218 | 218 | ||
219 | output_len = UM_KERN_PAGE_SIZE; | 219 | output_len = UM_KERN_PAGE_SIZE; |
220 | output = um_kmalloc(output_len); | 220 | output = kmalloc(output_len, UM_GFP_KERNEL); |
221 | if(output == NULL) | 221 | if(output == NULL) |
222 | printk("change : failed to allocate output buffer\n"); | 222 | printk("change : failed to allocate output buffer\n"); |
223 | 223 | ||