diff options
Diffstat (limited to 'arch/um/drivers/mcast_user.c')
-rw-r--r-- | arch/um/drivers/mcast_user.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/um/drivers/mcast_user.c b/arch/um/drivers/mcast_user.c index d319db16d4ec..236a3dfc297d 100644 --- a/arch/um/drivers/mcast_user.c +++ b/arch/um/drivers/mcast_user.c | |||
@@ -30,7 +30,7 @@ static struct sockaddr_in *new_addr(char *addr, unsigned short port) | |||
30 | { | 30 | { |
31 | struct sockaddr_in *sin; | 31 | struct sockaddr_in *sin; |
32 | 32 | ||
33 | sin = um_kmalloc(sizeof(struct sockaddr_in)); | 33 | sin = kmalloc(sizeof(struct sockaddr_in), UM_GFP_KERNEL); |
34 | if(sin == NULL){ | 34 | if(sin == NULL){ |
35 | printk("new_addr: allocation of sockaddr_in failed\n"); | 35 | printk("new_addr: allocation of sockaddr_in failed\n"); |
36 | return NULL; | 36 | return NULL; |