projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d8ad075
)
[S390] locking problem with __cpcmd.
author
Christian Borntraeger
<
[email protected]
>
Tue, 9 Jan 2007 09:19:03 +0000
(10:19 +0100)
committer
Martin Schwidefsky
<
[email protected]
>
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 <
[email protected]
>
Signed-off-by: Martin Schwidefsky <
[email protected]
>
drivers/s390/char/vmcp.c
patch
|
blob
|
history
diff --git
a/drivers/s390/char/vmcp.c
b/drivers/s390/char/vmcp.c
index 1678b6c757ec717d40d298c32ebe3cdceb669cd8..a420cd099041b1f660d1d5fee056bf501b911096 100644
(file)
--- 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);