From 71a2fd355d8fa429bcc04740c260635e084255f2 Mon Sep 17 00:00:00 2001 From: David Hildenbrand Date: Mon, 1 Jun 2015 13:03:23 +0200 Subject: s390/sclp: store the increment_size in the sclp device Let's calculate it once and reuse it. Suggested-by: Matthew Rosato Reviewed-by: Matthew Rosato Signed-off-by: David Hildenbrand Signed-off-by: Cornelia Huck --- include/hw/s390x/sclp.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include') diff --git a/include/hw/s390x/sclp.h b/include/hw/s390x/sclp.h index 50094ebcc8..b0c71b5550 100644 --- a/include/hw/s390x/sclp.h +++ b/include/hw/s390x/sclp.h @@ -174,6 +174,7 @@ typedef struct SCLPDevice { /* private */ DeviceState parent_obj; SCLPEventFacility *event_facility; + int increment_size; /* public */ } SCLPDevice; -- cgit v1.2.3-55-g7522