* [PATCH] cancel the warning in msr.c
@ 2009-04-07 18:14 Zhiyong Wu
0 siblings, 0 replies; only message in thread
From: Zhiyong Wu @ 2009-04-07 18:14 UTC (permalink / raw)
To: kvm; +Cc: avi, zwu.kernel, herbert, llim
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
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2009-04-07 18:14 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-04-07 18:14 [PATCH] cancel the warning in msr.c Zhiyong Wu
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.