aboutsummaryrefslogtreecommitdiffstats
path: root/arch/um/drivers/slip_user.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/um/drivers/slip_user.c')
-rw-r--r--arch/um/drivers/slip_user.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/um/drivers/slip_user.c b/arch/um/drivers/slip_user.c
index edc2de3ee2f4..c0b73c28cff0 100644
--- a/arch/um/drivers/slip_user.c
+++ b/arch/um/drivers/slip_user.c
@@ -91,7 +91,7 @@ static int slip_tramp(char **argv, int fd)
91 pid = err; 91 pid = err;
92 92
93 output_len = UM_KERN_PAGE_SIZE; 93 output_len = UM_KERN_PAGE_SIZE;
94 output = um_kmalloc(output_len); 94 output = kmalloc(output_len, UM_GFP_KERNEL);
95 if(output == NULL){ 95 if(output == NULL){
96 printk("slip_tramp : failed to allocate output buffer\n"); 96 printk("slip_tramp : failed to allocate output buffer\n");
97 os_kill_process(pid, 1); 97 os_kill_process(pid, 1);