From: Jes Sorensen <[email protected]>
Signed-off-by: Jes Sorensen <[email protected]>
Signed-off-by: Avi Kivity <[email protected]>
diff --git a/target-ia64/exec.h b/target-ia64/exec.h
index 37b64f7..060d9c3 100644
--- a/target-ia64/exec.h
+++ b/target-ia64/exec.h
@@ -53,4 +53,9 @@ static inline int cpu_halted(CPUState *env) {
return EXCP_HALTED;
}
+static inline int cpu_has_work(CPUState *env)
+{
+ return (env->interrupt_request & (CPU_INTERRUPT_HARD));
+}
+
#endif
--
To unsubscribe from this list: send the line "unsubscribe kvm-commits" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html