projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f411e6c
)
KVM: VMX: Silence warning on 32-bit hosts
author
Jan Kiszka
<jan.kiszka@siemens.com>
Wed, 1 Jun 2011 10:57:30 +0000
(12:57 +0200)
committer
Avi Kivity
<avi@redhat.com>
Tue, 12 Jul 2011 10:16:08 +0000
(13:16 +0300)
a is unused now on CONFIG_X86_32.
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
arch/x86/kvm/vmx.c
patch
|
blob
|
history
diff --git
a/arch/x86/kvm/vmx.c
b/arch/x86/kvm/vmx.c
index 54e732d74fb150033c5ff6c691c9e65a8e6b2645..58badf1657d4f0352883614be74aa4dbeb90d27c 100644
(file)
--- a/
arch/x86/kvm/vmx.c
+++ b/
arch/x86/kvm/vmx.c
@@
-3602,7
+3602,9
@@
static u32 vmx_secondary_exec_control(struct vcpu_vmx *vmx)
*/
static int vmx_vcpu_setup(struct vcpu_vmx *vmx)
{
+#ifdef CONFIG_X86_64
unsigned long a;
+#endif
int i;
/* I/O */