Skip to contentSkip to conversation

cancel the warning in msr.c

PATCH New Zhiyong Wu 1 participant 1 message Apr 7, 2009 KVM

lore
Share & tools
lore

Zhiyong Wu

author
#0 lore raw

PATCH 1/1 cancel the warning in msr.c

From: zwu <[email protected]>

---
 user/test/x86/msr.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
user/test/x86/msr.c +2 -0
index 5010ad0..92102fa 100644
@@ -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)
 {
Signature · 1 line
1.5.4.5