All of lore.kernel.org
 help / color / mirror / Atom feed
From: Zhiyong Wu <zwu.kernel@gmail.com>
To: kvm@vger.kernel.org
Cc: avi@redhat.com, zwu.kernel@gmail.com,
	herbert@gondor.apana.org.au, llim@redhat.com
Subject: [PATCH] cancel the warning in msr.c
Date: Wed,  8 Apr 2009 02:14:00 +0800	[thread overview]
Message-ID: <1239128040-32612-1-git-send-email-zwu.kernel@gmail.com> (raw)
In-Reply-To: <zwu.kernel@gmail.com>

From: zwu <zwu.kernel@gmail.com>


Signed-off-by: zwu <zwu.kernel@gmail.com>
---
 user/test/x86/msr.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/user/test/x86/msr.c b/user/test/x86/msr.c
index 5010ad0..92102fa 100644
--- a/user/test/x86/msr.c
+++ b/user/test/x86/msr.c
@@ -6,6 +6,7 @@
 
 int nr_passed, nr_tests;
 
+#ifdef __x86_64__
 static void report(const char *name, int passed)
 {
 	++nr_tests;
@@ -27,6 +28,7 @@ static unsigned long long rdmsr(unsigned index)
 
 	return value;
 }
+#endif
 
 static void test_kernel_gs_base(void)
 {
-- 
1.5.4.5


                 reply	other threads:[~2009-04-07 18:14 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=1239128040-32612-1-git-send-email-zwu.kernel@gmail.com \
    --to=zwu.kernel@gmail.com \
    --cc=avi@redhat.com \
    --cc=herbert@gondor.apana.org.au \
    --cc=kvm@vger.kernel.org \
    --cc=llim@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.