From: zwu <[email protected]>
Signed-off-by: Zhiyong Wu <[email protected]>
Signed-off-by: Avi Kivity <[email protected]>
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)
{
--
To unsubscribe from this list: send the line "unsubscribe kvm-commits" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html