public inbox for kvm-ia64@vger.kernel.org
 help / color / mirror / Atom feed
From: Jes Sorensen <jes@sgi.com>
To: kvm-ia64@vger.kernel.org
Subject: [patch] qemu-kvm define cpu_has_work() for ia64
Date: Wed, 06 May 2009 15:45:38 +0000	[thread overview]
Message-ID: <4A01B0A2.4020709@sgi.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 56 bytes --]

Hi,

This one is needed to build on ia64.

Cheers,
Jes


[-- Attachment #2: 0008-qemu-kvm-ia64-has-work.patch --]
[-- Type: text/x-patch, Size: 492 bytes --]

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

             reply	other threads:[~2009-05-06 15:45 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-05-06 15:45 Jes Sorensen [this message]
2009-05-07 10:07 ` [patch] qemu-kvm define cpu_has_work() for ia64 Avi Kivity

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4A01B0A2.4020709@sgi.com \
    --to=jes@sgi.com \
    --cc=kvm-ia64@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox