s390: use __cpcmd in vmcp_write.
PATCH 12/12 s390: use __cpcmd in vmcp_write.
[patch 12/12] s390: use __cpcmd in vmcp_write.
From: Christian Borntraeger <[email protected]>
vmcp_write uses GPF_DMA for the memory allocation of the response buffer, so it can use the low level function __cpcmd directly, no need to call the wrapper.
Signed-off-by Martin Schwidefsky <[email protected]>
diffstat:
drivers/s390/char/vmcp.c | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-)
drivers/s390/char/vmcp.c +3 -3
@@ -115,9 +115,9 @@ vmcp_write(struct file *file, const charreturn -ENOMEM ; }debug_text_event (vmcp_debug,1 , cmd); - session->resp_size =cpcmd (cmd, session->response, - session->bufsize, - &session->resp_code); + session->resp_size =__cpcmd (cmd, session->response, + session->bufsize, + &session->resp_code);up (&session->mutex);kfree (cmd); *ppos =0 ;/* reset the file pointer after a command */