hppa: replace cpu_hppa_init() with cpu_generic_init()
commit8fc24ad5dd081e5655ad0e87fbea2e0812235f5a
authorIgor Mammedov <imammedo@redhat.com>
Thu, 24 Aug 2017 16:31:33 +0000 (24 18:31 +0200)
committerEduardo Habkost <ehabkost@redhat.com>
Fri, 1 Sep 2017 14:54:24 +0000 (1 11:54 -0300)
tree24b6fde162d846b48603fc5980e0106ebfc7f77d
parent82a3d1f81f8e401c6c34cba541970197aba2bb9a
hppa: replace cpu_hppa_init() with cpu_generic_init()

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 <imammedo@redhat.com>
Acked-by: Richard Henderson <rth@twiddle.net>
Message-Id: <1503592308-93913-11-git-send-email-imammedo@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
target/hppa/cpu.c
target/hppa/cpu.h