aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Huth <thuth@redhat.com>2019-07-18 13:55:27 +0200
committerPaolo Bonzini <pbonzini@redhat.com>2019-07-20 09:00:44 +0200
commit2417c87059b0f29535bcedf9360b94a0110bc3da (patch)
tree4274e6781152d7f7b2e01942f16ba155c35c6410
parentKVM: SVM: Fix detection of AMD Errata 1096 (diff)
downloadlinux-dev-2417c87059b0f29535bcedf9360b94a0110bc3da.tar.xz
linux-dev-2417c87059b0f29535bcedf9360b94a0110bc3da.zip
KVM: selftests: Remove superfluous define from vmx.c
The code in vmx.c does not use "program_invocation_name", so there is no need to "#define _GNU_SOURCE" here. Signed-off-by: Thomas Huth <thuth@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
-rw-r--r--tools/testing/selftests/kvm/lib/x86_64/vmx.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/tools/testing/selftests/kvm/lib/x86_64/vmx.c b/tools/testing/selftests/kvm/lib/x86_64/vmx.c
index fe56d159d65f..204f847bd065 100644
--- a/tools/testing/selftests/kvm/lib/x86_64/vmx.c
+++ b/tools/testing/selftests/kvm/lib/x86_64/vmx.c
@@ -5,8 +5,6 @@
* Copyright (C) 2018, Google LLC.
*/
-#define _GNU_SOURCE /* for program_invocation_name */
-
#include "test_util.h"
#include "kvm_util.h"
#include "processor.h"