From: Christian Borntraeger Date: Tue, 9 Jan 2007 09:19:03 +0000 (+0100) Subject: [S390] locking problem with __cpcmd. X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=bf3dbdcd0bfca74c16ad0b2b5a978907c864ed4c;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git [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 Signed-off-by: Martin Schwidefsky --- diff --git a/drivers/s390/char/vmcp.c b/drivers/s390/char/vmcp.c index 1678b6c757ec..a420cd099041 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);