mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [patch 12/12] s390: use __cpcmd in vmcp_write.
@ 2005-07-11 16:38 Martin Schwidefsky
  0 siblings, 0 replies; only message in thread
From: Martin Schwidefsky @ 2005-07-11 16:38 UTC (permalink / raw)
  To: akpm, cborntra, linux-kernel

[patch 12/12] s390: use __cpcmd in vmcp_write.

From: Christian Borntraeger <cborntra@de.ibm.com>

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>

diffstat:
 drivers/s390/char/vmcp.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff -urpN linux-2.6/drivers/s390/char/vmcp.c linux-2.6-patched/drivers/s390/char/vmcp.c
--- linux-2.6/drivers/s390/char/vmcp.c	2005-07-11 17:37:30.000000000 +0200
+++ linux-2.6-patched/drivers/s390/char/vmcp.c	2005-07-11 17:37:51.000000000 +0200
@@ -115,9 +115,9 @@ vmcp_write(struct file *file, const char
 		return -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 */

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-07-11 16:53 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-07-11 16:38 [patch 12/12] s390: use __cpcmd in vmcp_write Martin Schwidefsky

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®