From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:53646) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YzVLI-0005Nb-PH for qemu-devel@nongnu.org; Mon, 01 Jun 2015 15:25:49 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YzVLD-0001ZH-Bd for qemu-devel@nongnu.org; Mon, 01 Jun 2015 15:25:48 -0400 Received: from mail-qg0-x230.google.com ([2607:f8b0:400d:c04::230]:35332) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YzVLD-0001ZB-8D for qemu-devel@nongnu.org; Mon, 01 Jun 2015 15:25:43 -0400 Received: by qgg60 with SMTP id 60so51235476qgg.2 for ; Mon, 01 Jun 2015 12:25:42 -0700 (PDT) Sender: Richard Henderson Message-ID: <556CB1B2.1000703@twiddle.net> Date: Mon, 01 Jun 2015 12:25:38 -0700 From: Richard Henderson MIME-Version: 1.0 References: <9d048b96f7cfa64a4d9c0b88e0dd2877fac51d41.1433052532.git.crosthwaite.peter@gmail.com> In-Reply-To: <9d048b96f7cfa64a4d9c0b88e0dd2877fac51d41.1433052532.git.crosthwaite.peter@gmail.com> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [RFC v2 12/34] include/exec: Move tb hash functions out List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Crosthwaite , qemu-devel@nongnu.org Cc: edgar.iglesias@gmail.com, Peter Crosthwaite , pbonzini@redhat.com, afaerber@suse.de, peter.maydell@linaro.org On 05/30/2015 11:11 PM, Peter Crosthwaite wrote: > This is one of very few things in exec-all with a genuine CPU > architecture dependency. Move these hashing helpers to a new > header to trim exec-all.h down to a near architecture-agnostic > header. > > The defs are only used by cpu-exec and translate-all which are both > arch-obj's so the new tb-hash.h has no core code usage. > > Signed-off-by: Peter Crosthwaite > --- > cpu-exec.c | 2 ++ > include/exec/exec-all.h | 20 -------------------- > include/exec/tb-hash.h | 43 +++++++++++++++++++++++++++++++++++++++++++ > target-multi/helper.h | 1 + > translate-all.c | 1 + > 5 files changed, 47 insertions(+), 20 deletions(-) > create mode 100644 include/exec/tb-hash.h > create mode 100644 target-multi/helper.h Reviewed-by: Richard Henderson r~