]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - arch/um/drivers/port_user.c
Merge git://git.kernel.org/pub/scm/linux/kernel/git/mason/btrfs-unstable
[linux-2.6-omap-h63xx.git] / arch / um / drivers / port_user.c
index addd759026560bb75eb1129e3b1e2818e77cf345..b49bf56a56aa4a7b0b94a2b3709c972a144302f4 100644 (file)
@@ -47,7 +47,7 @@ static void *port_init(char *str, int device, const struct chan_opts *opts)
        if (kern_data == NULL)
                return NULL;
 
-       data = kmalloc(sizeof(*data), UM_GFP_KERNEL);
+       data = uml_kmalloc(sizeof(*data), UM_GFP_KERNEL);
        if (data == NULL)
                goto err;
 
@@ -153,7 +153,7 @@ struct port_pre_exec_data {
        int pipe_fd;
 };
 
-void port_pre_exec(void *arg)
+static void port_pre_exec(void *arg)
 {
        struct port_pre_exec_data *data = arg;