cpu: Eliminate cpudef_init(), cpudef_setup()

x86_cpudef_init() doesn't do anything anymore, cpudef_init(),
cpudef_setup(), and x86_cpudef_init() can be finally removed.

Backports commit 3e2c0e062f0963a6b73b0cd1990fad79495463d9 from qemu
This commit is contained in:
Eduardo Habkost 2018-02-24 03:20:44 -05:00 committed by Lioncash
parent 956e20ea6b
commit fee2c27f2b
No known key found for this signature in database
GPG key ID: 4E3C3CC1031BA9C7
2 changed files with 0 additions and 6 deletions

View file

@ -2205,10 +2205,6 @@ void cpu_clear_apic_feature(CPUX86State *env)
#endif /* !CONFIG_USER_ONLY */
void x86_cpudef_setup(void)
{
}
void cpu_x86_cpuid(CPUX86State *env, uint32_t index, uint32_t count,
uint32_t *eax, uint32_t *ebx,
uint32_t *ecx, uint32_t *edx)

View file

@ -1211,7 +1211,6 @@ void x86_cpu_exec_exit(CPUState *cpu);
X86CPU *cpu_x86_create(struct uc_struct *uc, const char *cpu_model, Error **errp);
int cpu_x86_exec(struct uc_struct *uc, CPUState *cpu);
void x86_cpudef_setup(void);
int cpu_x86_support_mca_broadcast(CPUX86State *env);
int cpu_get_pic_interrupt(CPUX86State *s);
@ -1391,7 +1390,6 @@ CPUX86State *cpu_x86_init_user(struct uc_struct *uc, const char *cpu_model);
#ifdef TARGET_I386
#define cpu_exec cpu_x86_exec
#define cpu_signal_handler cpu_x86_signal_handler
#define cpudef_setup x86_cpudef_setup
#endif
/* MMU modes definitions */