aboutsummaryrefslogtreecommitdiffstats
path: root/arch/um/drivers
diff options
context:
space:
mode:
authorAl Viro <viro@ftp.linux.org.uk>2007-07-17 03:49:35 -0400
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-07-17 14:01:07 -0400
commit6d0fd9c9832005b754d7cd04bc8c0ce7ea035366 (patch)
treea76a35c72fcd7e66934de4dfc1ff0215ee3776b7 /arch/um/drivers
parent7155c9f576fc8cff12448110b5d104096ba58aee (diff)
um_kmalloc() remnants
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Acked-by: Jeff Dike <jdike@addtoit.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/um/drivers')
-rw-r--r--arch/um/drivers/pcap_user.c2
1 files changed, 1 insertions, 1 deletions
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)
53 return -EIO; 53 return -EIO;
54 } 54 }
55 55
56 pri->compiled = um_kmalloc(sizeof(struct bpf_program)); 56 pri->compiled = kmalloc(sizeof(struct bpf_program), UM_GFP_KERNEL);
57 if(pri->compiled == NULL){ 57 if(pri->compiled == NULL){
58 printk(UM_KERN_ERR "pcap_open : kmalloc failed\n"); 58 printk(UM_KERN_ERR "pcap_open : kmalloc failed\n");
59 return -ENOMEM; 59 return -ENOMEM;