[S390] locking problem with __cpcmd.
authorChristian Borntraeger <cborntra@de.ibm.com>
Tue, 9 Jan 2007 09:19:03 +0000 (10:19 +0100)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Tue, 9 Jan 2007 09:19:03 +0000 (10:19 +0100)
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>
drivers/s390/char/vmcp.c

index 1678b6c757ec717d40d298c32ebe3cdceb669cd8..a420cd099041b1f660d1d5fee056bf501b911096 100644 (file)
@@ -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);