]> err.no Git - linux-2.6/blobdiff - arch/um/drivers/port_user.c
uml: fix previous request size limit fix
[linux-2.6] / arch / um / drivers / port_user.c
index 3f6357d24bee19bc69a469fec39555a138de9f3a..c799b00012c7fa898aa4ae8fa4711d36603ad93c 100644 (file)
@@ -50,7 +50,7 @@ static void *port_init(char *str, int device, const struct chan_opts *opts)
        if(kern_data == NULL)
                return NULL;
 
-       data = um_kmalloc(sizeof(*data));
+       data = kmalloc(sizeof(*data), UM_GFP_KERNEL);
        if(data == NULL)
                goto err;
 
@@ -188,7 +188,7 @@ int port_connection(int fd, int *socket, int *pid_out)
                { .sock_fd              = new,
                  .pipe_fd              = socket[1] });
 
-       err = run_helper(port_pre_exec, &data, argv, NULL);
+       err = run_helper(port_pre_exec, &data, argv);
        if(err < 0)
                goto out_shutdown;