aboutsummaryrefslogtreecommitdiff
path: root/target/nios2/cpu.h
diff options
context:
space:
mode:
Diffstat (limited to 'target/nios2/cpu.h')
-rw-r--r--target/nios2/cpu.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/target/nios2/cpu.h b/target/nios2/cpu.h
index 7c48b3452f..6bd8367eb8 100644
--- a/target/nios2/cpu.h
+++ b/target/nios2/cpu.h
@@ -222,11 +222,6 @@ bool nios2_cpu_tlb_fill(CPUState *cs, vaddr address, int size,
bool probe, uintptr_t retaddr);
#endif
-static inline int cpu_interrupts_enabled(CPUNios2State *env)
-{
- return env->regs[CR_STATUS] & CR_STATUS_PIE;
-}
-
typedef CPUNios2State CPUArchState;
typedef Nios2CPU ArchCPU;