From: Asias He <[email protected]> Some code is incorrectly conditioned on __x86_64__.
Signed-off-by: Asias He <[email protected]> Signed-off-by: Avi Kivity <[email protected]> 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; -- 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
