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 <crosthwaite.pe...@gmail.com> > --- > 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...@twiddle.net> r~