aboutsummaryrefslogtreecommitdiff
path: root/target-microblaze
diff options
context:
space:
mode:
authorPeter Crosthwaite <crosthwaitepeter@gmail.com>2015-04-26 12:10:24 -0700
committerMichael Tokarev <mjt@tls.msk.ru>2015-04-30 16:05:48 +0300
commit93100f67c723f5812d0fa9a026208cf320ef46e6 (patch)
treec9ba86a472869aeab5173a39d812d90dbfe81dce /target-microblaze
parent2161be35ce57ed5b0da0b98f902d003bfebac2c9 (diff)
microblaze: cpu: delete unused cpu_interrupts_enabled
This function is unused. Remove. Signed-off-by: Peter Crosthwaite <crosthwaite.peter@gmail.com> Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Diffstat (limited to 'target-microblaze')
-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 d3895975d8..4ea04acc4d 100644
--- a/target-microblaze/cpu.h
+++ b/target-microblaze/cpu.h
@@ -319,11 +319,6 @@ static inline int cpu_mmu_index (CPUMBState *env)
int mb_cpu_handle_mmu_fault(CPUState *cpu, vaddr address, int rw,
int mmu_idx);
-static inline int cpu_interrupts_enabled(CPUMBState *env)
-{
- return env->sregs[SR_MSR] & MSR_IE;
-}
-
#include "exec/cpu-all.h"
static inline void cpu_get_tb_cpu_state(CPUMBState *env, target_ulong *pc,