projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
uml: fix build when SLOB is enabled
[linux-2.6-microblaze.git]
/
arch
/
um
/
drivers
/
tty.c
diff --git
a/arch/um/drivers/tty.c
b/arch/um/drivers/tty.c
index
c930fed
..
495858a
100644
(file)
--- a/
arch/um/drivers/tty.c
+++ b/
arch/um/drivers/tty.c
@@
-29,7
+29,7
@@
static void *tty_chan_init(char *str, int device, const struct chan_opts *opts)
}
str++;
- data = kmalloc(sizeof(*data), UM_GFP_KERNEL);
+ data =
uml_
kmalloc(sizeof(*data), UM_GFP_KERNEL);
if (data == NULL)
return NULL;
*data = ((struct tty_chan) { .dev = str,