summaryrefslogtreecommitdiffstats
path: root/arch/um/drivers/tty.c
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2008-05-17 16:01:05 +0200
committerThomas Gleixner <tglx@linutronix.de>2008-05-17 16:01:05 +0200
commit0e50a4c6ab94ffe7e5515b86b5df9e5abc8c6b13 (patch)
tree3c688483e71261f564fc43be3157b337ae340dca /arch/um/drivers/tty.c
parent34b2cd5b688b012975fcfc3b3970fc3508fa82c4 (diff)
parentf26a3988917913b3d11b2bd741601a2c64ab9204 (diff)
downloadblackbird-op-linux-0e50a4c6ab94ffe7e5515b86b5df9e5abc8c6b13.tar.gz
blackbird-op-linux-0e50a4c6ab94ffe7e5515b86b5df9e5abc8c6b13.zip
Merge branch 'linus' into x86/pebs
Diffstat (limited to 'arch/um/drivers/tty.c')
-rw-r--r--arch/um/drivers/tty.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/um/drivers/tty.c b/arch/um/drivers/tty.c
index c930fedc5172..495858a090e4 100644
--- 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,
OpenPOWER on IntegriCloud