kvm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Asias He <asias.hejun@gmail.com>
To: kvm@vger.kernel.org, Naphtali Sprei <nsprei@redhat.com>
Cc: Asias He <asias.hejun@gmail.com>
Subject: [qemu-kvm tests PATCH] qemu-kvm tests cleanup
Date: Sat, 15 May 2010 16:12:43 +0800	[thread overview]
Message-ID: <1273911163-5174-2-git-send-email-asias.hejun@gmail.com> (raw)
In-Reply-To: <1273911163-5174-1-git-send-email-asias.hejun@gmail.com>

fix test/x86/msr.c fail to build on i386

Signed-off-by: Asias He <asias.hejun@gmail.com>
---
 kvm/user/test/x86/msr.c |    5 -----
 1 files changed, 0 insertions(+), 5 deletions(-)

diff --git a/kvm/user/test/x86/msr.c b/kvm/user/test/x86/msr.c
index 662cb4f..1e7987d 100644
--- a/kvm/user/test/x86/msr.c
+++ b/kvm/user/test/x86/msr.c
@@ -79,7 +79,6 @@ static int find_msr_info(int msr_index)
 
 int nr_passed, nr_tests;
 
-#ifdef __x86_64__
 static void report(const char *name, int passed)
 {
 	++nr_tests;
@@ -103,10 +102,6 @@ static unsigned long long rdmsr(unsigned index)
 	return ((unsigned long long)d << 32) | a;
 }
 
-#endif
-
-
-
 static void test_msr_rw(int msr_index, unsigned long long input, unsigned long long expected)
 {
     unsigned long long r = 0;
-- 
1.7.1


  reply	other threads:[~2010-05-15  8:13 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-05-15  8:12 [qemu-kvm tests PATCH] qemu-kvm tests cleanup Asias He
2010-05-15  8:12 ` Asias He [this message]
2010-05-25  9:29   ` 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=1273911163-5174-2-git-send-email-asias.hejun@gmail.com \
    --to=asias.hejun@gmail.com \
    --cc=kvm@vger.kernel.org \
    --cc=nsprei@redhat.com \
    /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;
as well as URLs for NNTP newsgroup(s).