aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Crosthwaite <crosthwaitepeter@gmail.com>2015-04-26 12:10:21 -0700
committerMichael Tokarev <mjt@tls.msk.ru>2015-04-30 16:05:48 +0300
commitb133b09a9d8ae280bba279a1aba9af73a805e198 (patch)
tree6e71df57135cf15337c6394af0cfa7e77f14eb63
parent19191a6bc537b2290e18430e1877de9c2db20510 (diff)
microblaze: cpu: Remote unused cpu_get_pc
This function is not used by anything. Remove. Signed-off-by: Peter Crosthwaite <crosthwaite.peter@gmail.com> Reviewed-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com> Reviewed-by: Alex Bennée <alex.bennee@linaro.org> Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
-rw-r--r--target-microblaze/cpu.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/target-microblaze/cpu.h b/target-microblaze/cpu.h
index 7d06227730..2c18b49dff 100644
--- a/target-microblaze/cpu.h
+++ b/target-microblaze/cpu.h
@@ -333,11 +333,6 @@ static inline int cpu_interrupts_enabled(CPUMBState *env)
#include "exec/cpu-all.h"
-static inline target_ulong cpu_get_pc(CPUMBState *env)
-{
- return env->sregs[SR_PC];
-}
-
static inline void cpu_get_tb_cpu_state(CPUMBState *env, target_ulong *pc,
target_ulong *cs_base, int *flags)
{