[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-trivial] [PATCH target-arm 2/2] arm: cpu.h: Delete unused cpu_pc_f
From: |
Peter Crosthwaite |
Subject: |
[Qemu-trivial] [PATCH target-arm 2/2] arm: cpu.h: Delete unused cpu_pc_from_tb() |
Date: |
Sun, 26 Apr 2015 18:38:19 -0700 |
No code uses the cpu_pc_from_tb() function. Delete.
Signed-off-by: Peter Crosthwaite <address@hidden>
---
target-arm/cpu.h | 9 ---------
1 file changed, 9 deletions(-)
diff --git a/target-arm/cpu.h b/target-arm/cpu.h
index 7069103..c9c5d30 100644
--- a/target-arm/cpu.h
+++ b/target-arm/cpu.h
@@ -1874,15 +1874,6 @@ static inline void cpu_get_tb_cpu_state(CPUARMState
*env, target_ulong *pc,
#include "exec/exec-all.h"
-static inline void cpu_pc_from_tb(CPUARMState *env, TranslationBlock *tb)
-{
- if (ARM_TBFLAG_AARCH64_STATE(tb->flags)) {
- env->pc = tb->pc;
- } else {
- env->regs[15] = tb->pc;
- }
-}
-
enum {
QEMU_PSCI_CONDUIT_DISABLED = 0,
QEMU_PSCI_CONDUIT_SMC = 1,
--
1.9.1
- [Qemu-trivial] [PATCH target-arm 0/2] Unused code cleanups, Peter Crosthwaite, 2015/04/26
- [Qemu-trivial] [PATCH target-arm 1/2] arm: cpu.h: Remove unused typdefs, Peter Crosthwaite, 2015/04/26
- [Qemu-trivial] [PATCH target-arm 2/2] arm: cpu.h: Delete unused cpu_pc_from_tb(),
Peter Crosthwaite <=
- Re: [Qemu-trivial] [PATCH target-arm 2/2] arm: cpu.h: Delete unused cpu_pc_from_tb(), Michael Tokarev, 2015/04/27
- Re: [Qemu-trivial] [PATCH target-arm 2/2] arm: cpu.h: Delete unused cpu_pc_from_tb(), Michael Tokarev, 2015/04/27
- Re: [Qemu-trivial] [PATCH target-arm 2/2] arm: cpu.h: Delete unused cpu_pc_from_tb(), Peter Maydell, 2015/04/27
- Re: [Qemu-trivial] [PATCH target-arm 2/2] arm: cpu.h: Delete unused cpu_pc_from_tb(), Peter Maydell, 2015/04/27
- Re: [Qemu-trivial] [Qemu-devel] [PATCH target-arm 2/2] arm: cpu.h: Delete unused cpu_pc_from_tb(), Peter Crosthwaite, 2015/04/27
- Re: [Qemu-trivial] [Qemu-devel] [PATCH target-arm 2/2] arm: cpu.h: Delete unused cpu_pc_from_tb(), Peter Maydell, 2015/04/27
- Re: [Qemu-trivial] [PATCH target-arm 2/2] arm: cpu.h: Delete unused cpu_pc_from_tb(), Michael Tokarev, 2015/04/29