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>
This commit is contained in:
parent
2161be35ce
commit
93100f67c7
@ -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 mb_cpu_handle_mmu_fault(CPUState *cpu, vaddr address, int rw,
|
||||||
int mmu_idx);
|
int mmu_idx);
|
||||||
|
|
||||||
static inline int cpu_interrupts_enabled(CPUMBState *env)
|
|
||||||
{
|
|
||||||
return env->sregs[SR_MSR] & MSR_IE;
|
|
||||||
}
|
|
||||||
|
|
||||||
#include "exec/cpu-all.h"
|
#include "exec/cpu-all.h"
|
||||||
|
|
||||||
static inline void cpu_get_tb_cpu_state(CPUMBState *env, target_ulong *pc,
|
static inline void cpu_get_tb_cpu_state(CPUMBState *env, target_ulong *pc,
|
||||||
|
Loading…
Reference in New Issue
Block a user