include/exec: Move tb hash functions out
commite1b89321bafea9fb33d87852fc91fee579d17dfe
authorPeter Crosthwaite <crosthwaitepeter@gmail.com>
Sun, 31 May 2015 06:11:45 +0000 (30 23:11 -0700)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 26 Jun 2015 14:00:51 +0000 (26 16:00 +0200)
treea7c496bd355d7740e1a151e8a1b35bdfeabd650f
parent9e0dc48c9f05505b53cb28f860456a0648e56ddf
include/exec: Move tb hash functions out

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.

Reviewed-by: Richard Henderson <rth@redhat.com>
Signed-off-by: Peter Crosthwaite <crosthwaite.peter@gmail.com>
Message-Id: <9d048b96f7cfa64a4d9c0b88e0dd2877fac51d41.1433052532.git.crosthwaite.peter@gmail.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
cpu-exec.c
include/exec/exec-all.h
include/exec/tb-hash.h [new file with mode: 0644]
translate-all.c