From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:41844) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dierB-0006KT-F2 for qemu-devel@nongnu.org; Fri, 18 Aug 2017 06:50:26 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dier8-0005Vt-D1 for qemu-devel@nongnu.org; Fri, 18 Aug 2017 06:50:25 -0400 Received: from mx1.redhat.com ([209.132.183.28]:43792) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dier8-0005Up-67 for qemu-devel@nongnu.org; Fri, 18 Aug 2017 06:50:22 -0400 Date: Fri, 18 Aug 2017 12:50:15 +0200 From: Cornelia Huck Message-ID: <20170818125015.3000dd6f.cohuck@redhat.com> In-Reply-To: <5578f62d-52ca-55ab-de6e-d9c72fabb6e8@redhat.com> References: <20170817092225.4264-1-david@redhat.com> <20170817092225.4264-2-david@redhat.com> <69dfd14d-ace7-9413-509f-a43ccdccc6ef@redhat.com> <5578f62d-52ca-55ab-de6e-d9c72fabb6e8@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH v1 for-2.11 01/10] target/s390x: move cc_name() to cc_helper.c List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Thomas Huth Cc: David Hildenbrand , qemu-devel@nongnu.org, rth@twiddle.net, Aurelien Jarno , borntraeger@de.ibm.com On Fri, 18 Aug 2017 12:04:14 +0200 Thomas Huth wrote: > On 18.08.2017 11:59, David Hildenbrand wrote: > > On 17.08.2017 11:22, David Hildenbrand wrote: > >> While at it, move the translations into the function. > >> > >> Signed-off-by: David Hildenbrand > >> --- > >> target/s390x/cc_helper.c | 48 ++++++++++++++++++++++++++++++++++++++++++++++++ > >> target/s390x/cpu.h | 48 +----------------------------------------------- > >> 2 files changed, 49 insertions(+), 47 deletions(-) > [...] > > Just compiled with --disable-tcg > > > > s390_cpu_dump_state() needs cc_name. I suggest moving it to helper.c > > instead. Opinions? > > Sounds fine to me, too. > > Thomas > > Agreed.