From: Al Viro Date: Tue, 17 Jul 2007 07:49:35 +0000 (+0100) Subject: um_kmalloc() remnants X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=6d0fd9c9832005b754d7cd04bc8c0ce7ea035366;p=openwrt%2Fstaging%2Fblogic.git um_kmalloc() remnants Signed-off-by: Al Viro Acked-by: Jeff Dike Signed-off-by: Linus Torvalds --- diff --git a/arch/um/drivers/pcap_user.c b/arch/um/drivers/pcap_user.c index 483aa15222a4..1316456e2a28 100644 --- a/arch/um/drivers/pcap_user.c +++ b/arch/um/drivers/pcap_user.c @@ -53,7 +53,7 @@ static int pcap_open(void *data) return -EIO; } - pri->compiled = um_kmalloc(sizeof(struct bpf_program)); + pri->compiled = kmalloc(sizeof(struct bpf_program), UM_GFP_KERNEL); if(pri->compiled == NULL){ printk(UM_KERN_ERR "pcap_open : kmalloc failed\n"); return -ENOMEM;