]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - arch/um/drivers/pty.c
sparc32: pass -m32 when building vmlinux.lds
[linux-2.6-omap-h63xx.git] / arch / um / drivers / pty.c
index 49c79dda6046492fc936c4c921a04d71d7584c2b..1113911dcb2bfb70696785ac194089705c9c8693 100644 (file)
@@ -29,7 +29,7 @@ static void *pty_chan_init(char *str, int device, const struct chan_opts *opts)
 {
        struct pty_chan *data;
 
-       data = kmalloc(sizeof(*data), UM_GFP_KERNEL);
+       data = uml_kmalloc(sizeof(*data), UM_GFP_KERNEL);
        if (data == NULL)
                return NULL;