cancel the warning in msr.c
PATCH 1/1 cancel the warning in msr.c
From: zwu <[email protected]>
Signed-off-by zwu <[email protected]>
--- user/test/x86/msr.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-)
user/test/x86/msr.c +2 -0
@@ -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