From nobody Mon Feb 9 06:00:14 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of gnu.org designates 208.118.235.17 as permitted sender) client-ip=208.118.235.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Authentication-Results: mx.zohomail.com; spf=pass (zoho.com: domain of gnu.org designates 208.118.235.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail(p=none dis=none) header.from=redhat.com Return-Path: Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) by mx.zohomail.com with SMTPS id 1518168550002497.87626957200337; Fri, 9 Feb 2018 01:29:10 -0800 (PST) Received: from localhost ([::1]:52927 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ek4zV-0004W8-3A for importer@patchew.org; Fri, 09 Feb 2018 04:29:09 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:43403) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ek4wK-0001zd-K3 for qemu-devel@nongnu.org; Fri, 09 Feb 2018 04:25:53 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ek4wF-0005zx-V5 for qemu-devel@nongnu.org; Fri, 09 Feb 2018 04:25:52 -0500 Received: from mx3-rdu2.redhat.com ([66.187.233.73]:33088 helo=mx1.redhat.com) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1ek4wF-0005zk-Qi; Fri, 09 Feb 2018 04:25:47 -0500 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.rdu2.redhat.com [10.11.54.4]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 6D9367D845; Fri, 9 Feb 2018 09:25:47 +0000 (UTC) Received: from localhost (dhcp-192-222.str.redhat.com [10.33.192.222]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 251012026DFD; Fri, 9 Feb 2018 09:25:47 +0000 (UTC) From: Cornelia Huck To: peter.maydell@linaro.org Date: Fri, 9 Feb 2018 10:25:02 +0100 Message-Id: <20180209092524.31348-8-cohuck@redhat.com> In-Reply-To: <20180209092524.31348-1-cohuck@redhat.com> References: <20180209092524.31348-1-cohuck@redhat.com> X-Scanned-By: MIMEDefang 2.78 on 10.11.54.4 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.2]); Fri, 09 Feb 2018 09:25:47 +0000 (UTC) X-Greylist: inspected by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.2]); Fri, 09 Feb 2018 09:25:47 +0000 (UTC) for IP:'10.11.54.4' DOMAIN:'int-mx04.intmail.prod.int.rdu2.redhat.com' HELO:'smtp.corp.redhat.com' FROM:'cohuck@redhat.com' RCPT:'' X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 66.187.233.73 Subject: [Qemu-devel] [PULL 07/29] s390x/flic: no need to call s390_io_interrupt() from flic X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: thuth@redhat.com, david@redhat.com, Cornelia Huck , qemu-devel@nongnu.org, agraf@suse.de, borntraeger@de.ibm.com, qemu-s390x@nongnu.org, rth@twiddle.net Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail: RSF_0 Z_629925259 SPT_0 Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" From: David Hildenbrand We can directly call the right function. Suggested-by: Cornelia Huck Signed-off-by: David Hildenbrand Message-Id: <20180129125623.21729-7-david@redhat.com> Signed-off-by: Cornelia Huck --- hw/intc/s390_flic.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/hw/intc/s390_flic.c b/hw/intc/s390_flic.c index bdc8ec7607..d6ed1d7380 100644 --- a/hw/intc/s390_flic.c +++ b/hw/intc/s390_flic.c @@ -108,6 +108,7 @@ static int qemu_s390_inject_airq(S390FLICState *fs, uin= t8_t type, uint8_t isc, uint8_t flags) { QEMUS390FLICState *flic =3D QEMU_S390_FLIC(fs); + S390FLICStateClass *fsc =3D S390_FLIC_COMMON_GET_CLASS(fs); bool flag =3D flags & S390_ADAPTER_SUPPRESSIBLE; uint32_t io_int_word =3D (isc << 27) | IO_INT_WORD_AI; =20 @@ -116,7 +117,7 @@ static int qemu_s390_inject_airq(S390FLICState *fs, uin= t8_t type, return 0; } =20 - s390_io_interrupt(0, 0, 0, io_int_word); + fsc->inject_io(fs, 0, 0, 0, io_int_word); =20 if (flag && (flic->simm & AIS_MODE_MASK(isc))) { flic->nimm |=3D AIS_MODE_MASK(isc); --=20 2.13.6