KVM: ppc: No need to include core-header for KVM in asm-offsets.c currently
Signed-off-by: Liu Yu <yu.liu@freescale.com> Signed-off-by: Hollis Blanchard <hollisb@us.ibm.com> Signed-off-by: Avi Kivity <avi@redhat.com>
This commit is contained in:
Родитель
f7b200af8f
Коммит
366d4b9b9f
|
@ -49,7 +49,7 @@
|
||||||
#include <asm/iseries/alpaca.h>
|
#include <asm/iseries/alpaca.h>
|
||||||
#endif
|
#endif
|
||||||
#ifdef CONFIG_KVM
|
#ifdef CONFIG_KVM
|
||||||
#include <asm/kvm_44x.h>
|
#include <linux/kvm_host.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(CONFIG_BOOKE) || defined(CONFIG_40x)
|
#if defined(CONFIG_BOOKE) || defined(CONFIG_40x)
|
||||||
|
@ -361,8 +361,6 @@ int main(void)
|
||||||
DEFINE(PTE_SIZE, sizeof(pte_t));
|
DEFINE(PTE_SIZE, sizeof(pte_t));
|
||||||
|
|
||||||
#ifdef CONFIG_KVM
|
#ifdef CONFIG_KVM
|
||||||
DEFINE(TLBE_BYTES, sizeof(struct kvmppc_44x_tlbe));
|
|
||||||
|
|
||||||
DEFINE(VCPU_HOST_STACK, offsetof(struct kvm_vcpu, arch.host_stack));
|
DEFINE(VCPU_HOST_STACK, offsetof(struct kvm_vcpu, arch.host_stack));
|
||||||
DEFINE(VCPU_HOST_PID, offsetof(struct kvm_vcpu, arch.host_pid));
|
DEFINE(VCPU_HOST_PID, offsetof(struct kvm_vcpu, arch.host_pid));
|
||||||
DEFINE(VCPU_GPRS, offsetof(struct kvm_vcpu, arch.gpr));
|
DEFINE(VCPU_GPRS, offsetof(struct kvm_vcpu, arch.gpr));
|
||||||
|
|
Загрузка…
Ссылка в новой задаче