[qemu-kvm tests PATCH] qemu-kvm tests cleanup

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



fix test/x86/msr.c fail to build on i386

Signed-off-by: Asias He <asias.hejun@xxxxxxxxx>
---
 kvm/user/test/x86/msr.c |    5 -----
 1 files changed, 0 insertions(+), 5 deletions(-)

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;
-- 
1.7.1

--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux