]> Git Repo - qemu.git/blobdiff - target-openrisc/cpu.h
cpu: Turn cpu_has_work() into a CPUClass hook
[qemu.git] / target-openrisc / cpu.h
index 51d6afd1532b4d53d6f379de0516ae2d1c3798a9..ae9d17f10290155d2441f3519e92c2bf61bbde25 100644 (file)
@@ -419,11 +419,6 @@ static inline int cpu_mmu_index(CPUOpenRISCState *env)
 }
 
 #define CPU_INTERRUPT_TIMER   CPU_INTERRUPT_TGT_INT_0
-static inline bool cpu_has_work(CPUState *cpu)
-{
-    return cpu->interrupt_request & (CPU_INTERRUPT_HARD |
-                                     CPU_INTERRUPT_TIMER);
-}
 
 #include "exec/exec-all.h"
 
This page took 0.023137 seconds and 4 git commands to generate.