[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 5/5] ppc: Remove unused irq_inputs
From: |
Cédric Le Goater |
Subject: |
[PATCH 5/5] ppc: Remove unused irq_inputs |
Date: |
Tue, 5 Jul 2022 16:58:14 +0200 |
Signed-off-by: Cédric Le Goater <clg@kaod.org>
---
target/ppc/cpu.h | 1 -
target/ppc/cpu_init.c | 5 -----
2 files changed, 6 deletions(-)
diff --git a/target/ppc/cpu.h b/target/ppc/cpu.h
index 6d78078f379d..2166d2c4b692 100644
--- a/target/ppc/cpu.h
+++ b/target/ppc/cpu.h
@@ -1172,7 +1172,6 @@ struct CPUArchState {
* by recent Book3s compatible CPUs (POWER7 and newer).
*/
uint32_t irq_input_state;
- void **irq_inputs;
target_ulong excp_vectors[POWERPC_EXCP_NB]; /* Exception vectors */
target_ulong excp_prefix;
diff --git a/target/ppc/cpu_init.c b/target/ppc/cpu_init.c
index c16cb8dbe7a5..9f9a8e998e7c 100644
--- a/target/ppc/cpu_init.c
+++ b/target/ppc/cpu_init.c
@@ -6672,7 +6672,6 @@ static void init_ppc_proc(PowerPCCPU *cpu)
#if !defined(CONFIG_USER_ONLY)
int i;
- env->irq_inputs = NULL;
/* Set all exception vectors to an invalid address */
for (i = 0; i < POWERPC_EXCP_NB; i++) {
env->excp_vectors[i] = (target_ulong)(-1ULL);
@@ -6802,10 +6801,6 @@ static void init_ppc_proc(PowerPCCPU *cpu)
/* Pre-compute some useful values */
env->tlb_per_way = env->nb_tlb / env->nb_ways;
}
- if (env->irq_inputs == NULL) {
- warn_report("no internal IRQ controller registered."
- " Attempt QEMU to crash very soon !");
- }
#endif
if (env->check_pow == NULL) {
warn_report("no power management check handler registered."
--
2.35.3
- [PATCH 0/5] ppc: Remove irq_inputs, Cédric Le Goater, 2022/07/05
- [PATCH 2/5] ppc/40x: Allocate IRQ lines with qdev_init_gpio_in(), Cédric Le Goater, 2022/07/05
- [PATCH 1/5] ppc64: Allocate IRQ lines with qdev_init_gpio_in(), Cédric Le Goater, 2022/07/05
- [PATCH 3/5] ppc/6xx: Allocate IRQ lines with qdev_init_gpio_in(), Cédric Le Goater, 2022/07/05
- [PATCH 4/5] ppc/e500: Allocate IRQ lines with qdev_init_gpio_in(), Cédric Le Goater, 2022/07/05
- [PATCH 5/5] ppc: Remove unused irq_inputs,
Cédric Le Goater <=
- Re: [PATCH 0/5] ppc: Remove irq_inputs, Mark Cave-Ayland, 2022/07/11
- Re: [PATCH 0/5] ppc: Remove irq_inputs, Peter Maydell, 2022/07/11
- Re: [PATCH 0/5] ppc: Remove irq_inputs, Daniel Henrique Barboza, 2022/07/11