On 07/14/2017 03:52 AM, Igor Mammedov wrote:
drop custom cpu_hppa_init() in favor of cpu_generic_init(),
to make cpu_generic_init() work all we need is to provide
cc->class_by_name callback that would resolve any cpu_model
to the sole TYPE_HPPA_CPU to match current behaviour.

Signed-off-by: Igor Mammedov<imamm...@redhat.com>
---
CC: Richard Henderson<r...@twiddle.net>

tested with linux-user
---
  target/hppa/cpu.h |  4 +---
  target/hppa/cpu.c | 11 +++--------
  2 files changed, 4 insertions(+), 11 deletions(-)

Acked-by: Richard Henderson <r...@twiddle.net>


r~

Reply via email to