diff options
| author | Philippe Mathieu-Daudé <philmd@linaro.org> | 2022-12-16 13:39:32 +0100 |
|---|---|---|
| committer | Philippe Mathieu-Daudé <philmd@linaro.org> | 2023-02-27 22:29:01 +0100 |
| commit | b5c6a3c1df17c444b6ab587d363a758a54212be0 (patch) | |
| tree | e1fc6c63f69a6c03979dfc655909cfb71408758c /target/i386/cpu-dump.c | |
| parent | dd20414f9acd26b563efbf38c228ff9efced2ac7 (diff) | |
| download | focaccia-qemu-b5c6a3c1df17c444b6ab587d363a758a54212be0.tar.gz focaccia-qemu-b5c6a3c1df17c444b6ab587d363a758a54212be0.zip | |
target/i386: Remove x86_cpu_dump_local_apic_state() dead stub
x86_cpu_dump_local_apic_state() is called from monitor.c which
is only compiled for system emulation since commit bf95728400
("monitor: remove target-specific code from monitor.c").
Interestingly this stub was added few weeks later in commit
1f871d49e3 ("hmp: added local apic dump state") and was not
necessary by that time.
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20221216220158.6317-5-philmd@linaro.org>
Diffstat (limited to 'target/i386/cpu-dump.c')
| -rw-r--r-- | target/i386/cpu-dump.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/target/i386/cpu-dump.c b/target/i386/cpu-dump.c index 08ac957e99..40697064d9 100644 --- a/target/i386/cpu-dump.c +++ b/target/i386/cpu-dump.c @@ -335,10 +335,7 @@ void x86_cpu_dump_local_apic_state(CPUState *cs, int flags) } qemu_printf(" PPR 0x%02x\n", apic_get_ppr(s)); } -#else -void x86_cpu_dump_local_apic_state(CPUState *cs, int flags) -{ -} + #endif /* !CONFIG_USER_ONLY */ #define DUMP_CODE_BYTES_TOTAL 50 |