[PATCH] s390: use __cpcmd in vmcp_write

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 <schwidefsky@de.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
Christian Borntraeger 2005-07-27 11:45:06 -07:00 committed by Linus Torvalds
parent 8ffa7405af
commit 3e5ea09844

View File

@ -115,7 +115,7 @@ vmcp_write(struct file *file, const char __user * buff, size_t count,
return -ENOMEM;
}
debug_text_event(vmcp_debug, 1, cmd);
session->resp_size = cpcmd(cmd, session->response,
session->resp_size = __cpcmd(cmd, session->response,
session->bufsize,
&session->resp_code);
up(&session->mutex);