um_kmalloc() remnants
authorAl Viro <viro@ftp.linux.org.uk>
Tue, 17 Jul 2007 07:49:35 +0000 (08:49 +0100)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Tue, 17 Jul 2007 18:01:07 +0000 (11:01 -0700)
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>
arch/um/drivers/pcap_user.c

index 483aa15222a4b71976c29358f0fb61ee6a90e65a..1316456e2a2854237ec715e0b2625d5da81c21b4 100644 (file)
@@ -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;