diff mbox series

[18/24] hppa: cpu: add TARGET_DEFAULT_CPU_TYPE macro

Message ID 1516203816-19374-19-git-send-email-imammedo@redhat.com
State New
Headers show
Series generalize parsing of cpu_model (part 4) | expand

Commit Message

Igor Mammedov Jan. 17, 2018, 3:43 p.m. UTC
It will be used to drop a bunch of ifdefs *-user/main.c that
set default cpu_model in favor of using type names directly.

Signed-off-by: Igor Mammedov <imammedo@redhat.com>
CC: Richard Henderson <rth@twiddle.net>
 target/hppa/cpu.h | 1 +
 1 file changed, 1 insertion(+)
diff mbox series


diff --git a/target/hppa/cpu.h b/target/hppa/cpu.h
index 8d14077..04625f7 100644
--- a/target/hppa/cpu.h
+++ b/target/hppa/cpu.h
@@ -113,6 +113,7 @@  static inline int cpu_mmu_index(CPUHPPAState *env, bool ifetch)
 void hppa_translate_init(void);
 #define cpu_init(cpu_model) cpu_generic_init(TYPE_HPPA_CPU, cpu_model)
 void hppa_cpu_list(FILE *f, fprintf_function cpu_fprintf);