summaryrefslogtreecommitdiff
path: root/drivers/s390/char/sclp_cmd.c
diff options
context:
space:
mode:
authorMartin Schwidefsky <schwidefsky@de.ibm.com>2017-02-06 17:56:14 +0300
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2017-07-26 09:25:13 +0300
commit45be0a02f8110a13502fac6167a893c7c0eff432 (patch)
tree89c8d719e24483081dd465b1d65754f6677cd0fc /drivers/s390/char/sclp_cmd.c
parenta01ef3082d9c216f1187ea308c25e5dd486afe3d (diff)
downloadlinux-45be0a02f8110a13502fac6167a893c7c0eff432.tar.xz
s390/sclp: single increment assignment control
Set a new option bit of the attach command to speed up memory hotplug. Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'drivers/s390/char/sclp_cmd.c')
-rw-r--r--drivers/s390/char/sclp_cmd.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/s390/char/sclp_cmd.c b/drivers/s390/char/sclp_cmd.c
index b9c5522b8a68..dff8b94871f0 100644
--- a/drivers/s390/char/sclp_cmd.c
+++ b/drivers/s390/char/sclp_cmd.c
@@ -252,6 +252,7 @@ static int sclp_attach_storage(u8 id)
if (!sccb)
return -ENOMEM;
sccb->header.length = PAGE_SIZE;
+ sccb->header.function_code = 0x40;
rc = sclp_sync_request_timeout(0x00080001 | id << 8, sccb,
SCLP_QUEUE_INTERVAL);
if (rc)