diff options
| author | Peter Crosthwaite <crosthwaitepeter@gmail.com> | 2015-05-30 23:11:45 -0700 |
|---|---|---|
| committer | Paolo Bonzini <pbonzini@redhat.com> | 2015-06-26 16:00:51 +0200 |
| commit | e1b89321bafea9fb33d87852fc91fee579d17dfe (patch) | |
| tree | a7c496bd355d7740e1a151e8a1b35bdfeabd650f /cpu-exec.c | |
| parent | 9e0dc48c9f05505b53cb28f860456a0648e56ddf (diff) | |
| download | focaccia-qemu-e1b89321bafea9fb33d87852fc91fee579d17dfe.tar.gz focaccia-qemu-e1b89321bafea9fb33d87852fc91fee579d17dfe.zip | |
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>
Diffstat (limited to 'cpu-exec.c')
| -rw-r--r-- | cpu-exec.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cpu-exec.c b/cpu-exec.c index 2ffeb6e40d..b2724c18c1 100644 --- a/cpu-exec.c +++ b/cpu-exec.c @@ -27,6 +27,7 @@ #include "exec/address-spaces.h" #include "exec/memory-internal.h" #include "qemu/rcu.h" +#include "exec/tb-hash.h" /* -icount align implementation. */ |