diff options
author | Christian Borntraeger <cborntra@de.ibm.com> | 2007-01-09 09:19:03 (GMT) |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2007-01-09 09:19:03 (GMT) |
commit | bf3dbdcd0bfca74c16ad0b2b5a978907c864ed4c (patch) | |
tree | 618db5b2f374dd32735d0e7d1f336294f846a96d /drivers | |
parent | d8ad075ef60ca33f1bd8e227eed2202108fd6cd8 (diff) | |
download | linux-fsl-qoriq-bf3dbdcd0bfca74c16ad0b2b5a978907c864ed4c.tar.xz |
[S390] locking problem with __cpcmd.
Changeset 740b5706b9c4b3767f597b3ea76654c6f2a800b2 moved the protecting
spinlock from __cpcmd to cpcmd. Therefore vmcp can no longer use __cpcmd,
instead we have to use cpcmd.
Signed-off-by: Christian Borntraeger <cborntra@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/s390/char/vmcp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/s390/char/vmcp.c b/drivers/s390/char/vmcp.c index 1678b6c..a420cd0 100644 --- a/drivers/s390/char/vmcp.c +++ b/drivers/s390/char/vmcp.c @@ -117,7 +117,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); |