[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL 48/72] target/ppc: Remove raise_exception_ra()
From: |
Nicholas Piggin |
Subject: |
[PULL 48/72] target/ppc: Remove raise_exception_ra() |
Date: |
Tue, 11 Mar 2025 22:57:42 +1000 |
From: Philippe Mathieu-Daudé <philmd@linaro.org>
Introduced in commit db789c6cd33 ("ppc: Provide basic
raise_exception_* functions"), raise_exception_ra() has
never been used. Remove as dead code.
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Harsh Prateek Bora <harshpb@linux.ibm.com>
Message-ID: <20250127102620.39159-9-philmd@linaro.org>
Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
---
target/ppc/cpu.h | 2 --
target/ppc/excp_helper.c | 6 ------
2 files changed, 8 deletions(-)
diff --git a/target/ppc/cpu.h b/target/ppc/cpu.h
index 25b1e6d6b0..505b589714 100644
--- a/target/ppc/cpu.h
+++ b/target/ppc/cpu.h
@@ -2756,8 +2756,6 @@ static inline void cpu_get_tb_cpu_state(CPUPPCState *env,
vaddr *pc,
#endif
G_NORETURN void raise_exception(CPUPPCState *env, uint32_t exception);
-G_NORETURN void raise_exception_ra(CPUPPCState *env, uint32_t exception,
- uintptr_t raddr);
G_NORETURN void raise_exception_err(CPUPPCState *env, uint32_t exception,
uint32_t error_code);
G_NORETURN void raise_exception_err_ra(CPUPPCState *env, uint32_t exception,
diff --git a/target/ppc/excp_helper.c b/target/ppc/excp_helper.c
index 236e5078f5..9e1a2ecc36 100644
--- a/target/ppc/excp_helper.c
+++ b/target/ppc/excp_helper.c
@@ -2528,12 +2528,6 @@ void raise_exception(CPUPPCState *env, uint32_t
exception)
raise_exception_err_ra(env, exception, 0, 0);
}
-void raise_exception_ra(CPUPPCState *env, uint32_t exception,
- uintptr_t raddr)
-{
- raise_exception_err_ra(env, exception, 0, raddr);
-}
-
#ifdef CONFIG_TCG
void helper_raise_exception_err(CPUPPCState *env, uint32_t exception,
uint32_t error_code)
--
2.47.1
- [PULL 50/72] target/ppc: Restrict various common helpers to TCG, (continued)
- [PULL 50/72] target/ppc: Restrict various common helpers to TCG, Nicholas Piggin, 2025/03/11
- [PULL 57/72] hw/ppc/spapr: Convert CLEAN_HPTE() macro as hpte_set_clean() method, Nicholas Piggin, 2025/03/11
- [PULL 61/72] ppc: spapr: Enable 2nd DAWR on Power10 pSeries machine, Nicholas Piggin, 2025/03/11
- [PULL 62/72] spapr: nested: Add support for reporting Hostwide state counter, Nicholas Piggin, 2025/03/11
- [PULL 39/72] hw/ssi/pnv_spi: Make bus names distinct for each controllers of a socket, Nicholas Piggin, 2025/03/11
- [PULL 69/72] ppc/amigaone: Add default environment, Nicholas Piggin, 2025/03/11
- [PULL 70/72] ppc/amigaone: Add kernel and initrd support, Nicholas Piggin, 2025/03/11
- [PULL 47/72] target/ppc: Restrict powerpc_checkstop() to TCG, Nicholas Piggin, 2025/03/11
- [PULL 51/72] target/ppc: Fix style in excp_helper.c, Nicholas Piggin, 2025/03/11
- [PULL 28/72] ppc/xive2: Process group backlog when pushing an OS context, Nicholas Piggin, 2025/03/11
- [PULL 48/72] target/ppc: Remove raise_exception_ra(),
Nicholas Piggin <=
- [PULL 60/72] ppc: Enable 2nd DAWR support on Power10 PowerNV machine, Nicholas Piggin, 2025/03/11
- [PULL 64/72] target/ppc: Wire up BookE ATB registers for e500 family, Nicholas Piggin, 2025/03/11
- [PULL 66/72] spapr: Generate random HASHPKEYR for spapr machines, Nicholas Piggin, 2025/03/11
- [PULL 68/72] ppc/amigaone: Implement NVRAM emulation, Nicholas Piggin, 2025/03/11
- [PULL 59/72] hw/ppc/epapr: Do not swap ePAPR magic value, Nicholas Piggin, 2025/03/11
- [PULL 71/72] ppc/amigaone: Add #defines for memory map constants, Nicholas Piggin, 2025/03/11
- [PULL 58/72] hw/ppc/spapr: Convert DIRTY_HPTE() macro as hpte_set_dirty() method, Nicholas Piggin, 2025/03/11
- Re: [PULL 00/72] ppc-for-10.0-1 queue, Stefan Hajnoczi, 2025/03/12