git://ftp.safe.ca
/
safe
/
jmp
/
linux-2.6
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
uml: Eliminate kernel allocator wrappers
[safe/jmp/linux-2.6]
/
arch
/
um
/
drivers
/
pty.c
diff --git
a/arch/um/drivers/pty.c
b/arch/um/drivers/pty.c
index
640bcda
..
1e3fd61
100644
(file)
--- a/
arch/um/drivers/pty.c
+++ b/
arch/um/drivers/pty.c
@@
-29,7
+29,7
@@
static void *pty_chan_init(char *str, int device, const struct chan_opts *opts)
{
struct pty_chan *data;
- data =
um_kmalloc(sizeof(*data)
);
+ data =
kmalloc(sizeof(*data), UM_GFP_KERNEL
);
if (data == NULL)
return NULL;