RE: [patch] x86, kvm: fix build failure with CONFIG_SMP disabled

2013-04-17 Thread Zhang, Yang Z
Randy Dunlap wrote on 2013-04-18: > On 04/17/13 17:35, Zhang, Yang Z wrote: >> David Rientjes wrote on 2013-04-18: >>> On Wed, 17 Apr 2013, Randy Dunlap wrote: >>> On 04/17/13 16:12, David Rientjes wrote: > The build fails when CONFIG_SMP is disabled: > > arch/x86/kvm/vmx.c: In

Re: [patch] x86, kvm: fix build failure with CONFIG_SMP disabled

2013-04-17 Thread Randy Dunlap
On 04/17/13 17:35, Zhang, Yang Z wrote: > David Rientjes wrote on 2013-04-18: >> On Wed, 17 Apr 2013, Randy Dunlap wrote: >> >>> On 04/17/13 16:12, David Rientjes wrote: The build fails when CONFIG_SMP is disabled: arch/x86/kvm/vmx.c: In function 'vmx_deliver_posted_interrupt': >>

RE: [patch] x86, kvm: fix build failure with CONFIG_SMP disabled

2013-04-17 Thread Zhang, Yang Z
David Rientjes wrote on 2013-04-18: > On Wed, 17 Apr 2013, Randy Dunlap wrote: > >> On 04/17/13 16:12, David Rientjes wrote: >>> The build fails when CONFIG_SMP is disabled: >>> >>> arch/x86/kvm/vmx.c: In function 'vmx_deliver_posted_interrupt': >>> arch/x86/kvm/vmx.c:3950:3: error: 'apic

Re: [patch] x86, kvm: fix build failure with CONFIG_SMP disabled

2013-04-17 Thread David Rientjes
On Wed, 17 Apr 2013, Randy Dunlap wrote: > On 04/17/13 16:12, David Rientjes wrote: > > The build fails when CONFIG_SMP is disabled: > > > > arch/x86/kvm/vmx.c: In function 'vmx_deliver_posted_interrupt': > > arch/x86/kvm/vmx.c:3950:3: error: 'apic' undeclared (first use in this > > func

Re: [patch] x86, kvm: fix build failure with CONFIG_SMP disabled

2013-04-17 Thread Randy Dunlap
On 04/17/13 16:12, David Rientjes wrote: > The build fails when CONFIG_SMP is disabled: > > arch/x86/kvm/vmx.c: In function 'vmx_deliver_posted_interrupt': > arch/x86/kvm/vmx.c:3950:3: error: 'apic' undeclared (first use in this > function) > > Fix it by including the necessary heade