summaryrefslogtreecommitdiffstats
path: root/drivers/s390/char/sclp_cmd.c
diff options
context:
space:
mode:
authorMartin Schwidefsky <schwidefsky@de.ibm.com>2017-02-06 15:56:14 +0100
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2017-07-26 08:25:13 +0200
commit45be0a02f8110a13502fac6167a893c7c0eff432 (patch)
tree89c8d719e24483081dd465b1d65754f6677cd0fc /drivers/s390/char/sclp_cmd.c
parents390/mm,vmem: simplify region and segment table allocation code (diff)
downloadlinux-45be0a02f8110a13502fac6167a893c7c0eff432.tar.xz
linux-45be0a02f8110a13502fac6167a893c7c0eff432.zip
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)