Skip to content

Commit

Permalink
[S390] locking problem with __cpcmd.
Browse files Browse the repository at this point in the history
Changeset 740b570 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>
  • Loading branch information
Christian Borntraeger authored and Martin Schwidefsky committed Jan 9, 2007
1 parent d8ad075 commit bf3dbdc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/s390/char/vmcp.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit bf3dbdc

Please sign in to comment.