qemu-kvm define cpu_has_work() for ia64
PATCH 1/1 qemu-kvm define cpu_has_work() for ia64
Hi,
This one is needed to build on ia64.
Cheers,
Jes
Defined cpu_has_work() for ia64.
Signed-off-by Jes Sorensen <[email protected]>
--- target-ia64/exec.h | 5 +++++ 1 file changed, 5 insertions(+)
target-ia64/exec.h +5 -0
@@ -53,4 +53,9 @@ return EXCP_HALTED; } +static inline int cpu_has_work (CPUState *env) +{ +return (env->interrupt_request & (CPU_INTERRUPT_HARD )); +} +#endif
Avi Kivity
AppliedQuoted 4 lines · Jes Sorensen
Hi,
This one is needed to build on ia64.
Applied, thanks.
Signature · 1 line
error compiling committee.c: too many arguments to function