diff options
author | Jes Sorensen <jes@sgi.com> | 2009-05-06 17:45:38 +0200 |
---|---|---|
committer | Avi Kivity <avi@redhat.com> | 2009-05-07 14:55:40 +0300 |
commit | 8acc0cfa55cdb4000dddb9ce75abd12f07225b36 (patch) | |
tree | ca672c49bca79edec974f414a982538b81e0b7f9 /target-ia64 | |
parent | Do not build extboot on non-x86 (diff) | |
download | qemu-kvm-8acc0cfa55cdb4000dddb9ce75abd12f07225b36.tar.gz qemu-kvm-8acc0cfa55cdb4000dddb9ce75abd12f07225b36.tar.bz2 qemu-kvm-8acc0cfa55cdb4000dddb9ce75abd12f07225b36.zip |
Define cpu_has_work() for ia64
Signed-off-by: Jes Sorensen <jes@sgi.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'target-ia64')
-rw-r--r-- | target-ia64/exec.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/target-ia64/exec.h b/target-ia64/exec.h index 37b64f716..060d9c35b 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 |