[S390] sclp: improve servicability setting
authorMartin Schwidefsky <schwidefsky@de.ibm.com>
Mon, 7 Dec 2009 11:52:12 +0000 (12:52 +0100)
committerMartin Schwidefsky <sky@mschwide.boeblingen.de.ibm.com>
Mon, 7 Dec 2009 11:51:38 +0000 (12:51 +0100)
Set dump indicator on read-scp-info command to get meaningful dumps.

Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
drivers/s390/char/sclp_cmd.c

index 5cc11c636d38ad8e4fb640ef38afdbbb635095ee..28b5afc129c36be0cc2396a8f965aafef02fd108 100644 (file)
@@ -84,6 +84,7 @@ static void __init sclp_read_info_early(void)
                do {
                        memset(sccb, 0, sizeof(*sccb));
                        sccb->header.length = sizeof(*sccb);
+                       sccb->header.function_code = 0x80;
                        sccb->header.control_mask[2] = 0x80;
                        rc = sclp_cmd_sync_early(commands[i], sccb);
                } while (rc == -EBUSY);