From 5f04c14a10fa7f259bc0808f35a0beda49f7821e Mon Sep 17 00:00:00 2001 From: "Jason J. Herne" Date: Mon, 20 Jan 2014 14:51:48 -0500 Subject: s390-sclp: Define New SCLP Codes Define new SCLP codes to improve code readability. Signed-off-by: Jason J. Herne Signed-off-by: Christian Borntraeger --- hw/s390x/sclp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'hw/s390x') diff --git a/hw/s390x/sclp.c b/hw/s390x/sclp.c index 86d6ae0023..cb035e909b 100644 --- a/hw/s390x/sclp.c +++ b/hw/s390x/sclp.c @@ -45,7 +45,7 @@ static void sclp_execute(SCCB *sccb, uint64_t code) { S390SCLPDevice *sdev = get_event_facility(); - switch (code) { + switch (code & SCLP_CMD_CODE_MASK) { case SCLP_CMDW_READ_SCP_INFO: case SCLP_CMDW_READ_SCP_INFO_FORCED: read_SCP_info(sccb); -- cgit v1.2.1