diff mbox

[qemu-kvm,tests] qemu-kvm tests cleanup

Message ID 1273911163-5174-2-git-send-email-asias.hejun@gmail.com (mailing list archive)
State New, archived
Headers show

Commit Message

Asias He May 15, 2010, 8:12 a.m. UTC
None
diff mbox

Patch

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;