Google
  Web www.spinics.net

[patch] qemu-kvm define cpu_has_work() for ia64

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


Hi,

This one is needed to build on ia64.

Cheers,
Jes

Defined cpu_has_work() for ia64.

Signed-off-by: Jes Sorensen <jes@xxxxxxx>

---
 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

[Home]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]    [Yosemite Photos]    [Video Projectors]     [PDAs]     [Free Online Dating]     [Hacking TiVo]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Devices]     [Big List of Linux Books]     [16.7MP]

  Powered by Linux