]> err.no Git - linux-2.6/blobdiff - arch/um/drivers/tty.c
Merge master.kernel.org:/pub/scm/linux/kernel/git/gregkh/pci-2.6
[linux-2.6] / arch / um / drivers / tty.c
index c07d0d56278029ea8ed040c6cc5b17ce4e520723..a9f87e19c5bf9f283faf134f52ad9f0de4b5fdd1 100644 (file)
@@ -29,7 +29,7 @@ static void *tty_chan_init(char *str, int device, const struct chan_opts *opts)
        }
        str++;
 
-       data = um_kmalloc(sizeof(*data));
+       data = kmalloc(sizeof(*data), UM_GFP_KERNEL);
        if(data == NULL)
                return NULL;
        *data = ((struct tty_chan) { .dev       = str,