Message ID | 4A01B0A2.4020709@sgi.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Jes Sorensen wrote: > Hi, > > This one is needed to build on ia64. > Applied, thanks.
Defined cpu_has_work() for ia64. Signed-off-by: Jes Sorensen <jes@sgi.com> --- target-ia64/exec.h | 5 +++++ 1 file changed, 5 insertions(+) Index: qemu-kvm/target-ia64/exec.h =================================================================== --- qemu-kvm.orig/target-ia64/exec.h +++ qemu-kvm/target-ia64/exec.h @@ -53,4 +53,9 @@ return EXCP_HALTED; } +static inline int cpu_has_work(CPUState *env) +{ + return (env->interrupt_request & (CPU_INTERRUPT_HARD)); +} + #endif