aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/event_analyzing_sample.py
diff options
context:
space:
mode:
authorAlexander Kuleshov <[email protected]>2015-09-06 19:35:41 +0600
committerPaolo Bonzini <[email protected]>2015-09-06 16:26:22 +0200
commitefbb288afc2f3079fa5e9308f4d9d06a390babdc (patch)
treec676b45bb610a642575a2460a0589b4e5af2f01c /tools/perf/scripts/python/event_analyzing_sample.py
parent29ecd66019047768080e8eeab4cd6582b28383a2 (diff)
kvm: compile process_smi_save_seg_64() only for x86_64
The process_smi_save_seg_64() function called only in the process_smi_save_state_64() if the CONFIG_X86_64 is set. This patch adds #ifdef CONFIG_X86_64 around process_smi_save_seg_64() to prevent following warning message: arch/x86/kvm/x86.c:5946:13: warning: ‘process_smi_save_seg_64’ defined but not used [-Wunused-function] static void process_smi_save_seg_64(struct kvm_vcpu *vcpu, char *buf, int n) ^ Signed-off-by: Alexander Kuleshov <[email protected]> Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions