summaryrefslogtreecommitdiffstats
path: root/Documentation/PCI
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2018-04-04 12:44:14 +0200
committerPaolo Bonzini <pbonzini@redhat.com>2018-04-04 18:57:40 +0200
commit51e8a8cc2f2d4295703f9c7ff66dead565dfea9a (patch)
treec4a73c5de76d4ce0bd459fe9ae61ca63687e971e /Documentation/PCI
parentc75d0edc8e83541272c8c0177c4da153f22094e4 (diff)
downloadop-kernel-dev-51e8a8cc2f2d4295703f9c7ff66dead565dfea9a.zip
op-kernel-dev-51e8a8cc2f2d4295703f9c7ff66dead565dfea9a.tar.gz
x86: kvm: hide the unused 'cpu' variable
The local variable was newly introduced but is only accessed in one place on x86_64, but not on 32-bit: arch/x86/kvm/vmx.c: In function 'vmx_save_host_state': arch/x86/kvm/vmx.c:2175:6: error: unused variable 'cpu' [-Werror=unused-variable] This puts it into another #ifdef. Fixes: 35060ed6a1ff ("x86/kvm/vmx: avoid expensive rdmsr for MSR_GS_BASE") Signed-off-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'Documentation/PCI')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud