Skip to contentSkip to conversation

qemu-kvm define cpu_has_work() for ia64

PATCH Applied Jes Sorensen 2 participants 2 messages May 6, 2009 – May 7, 2009 KVM

lore
Share & tools
lore
#0 lore raw

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.

---
 target-ia64/exec.h |    5 +++++
 1 file changed, 5 insertions(+)
target-ia64/exec.h +5 -0
Index: 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
Applied
#1 lore raw
Quoted 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