Skip to contentSkip to conversation

No need to include core-header for KVM in asm-offsets.c currently

PATCH In review Liu Yu 1 participant 1 message Dec 18, 2008 PowerPC

lore
Share & tools
lore

Liu Yu

author
#0 lore raw

PATCH 2/10 No need to include core-header for KVM in asm-offsets.c currently

---
 arch/powerpc/kernel/asm-offsets.c |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)
arch/powerpc/kernel/asm-offsets.c +1 -3
index fc3b863..544a27f 100644
@@ -49,7 +49,7 @@
 #include <asm/iseries/alpaca.h>
 #endif
 #ifdef CONFIG_KVM
-#include <asm/kvm_44x.h>
+#include <linux/kvm_host.h>
 #endif
 
 #if defined(CONFIG_BOOKE) || defined(CONFIG_40x)
@@ -355,8 +355,6 @@ int main(void)
 	DEFINE(PTE_SIZE, sizeof(pte_t));
 
 #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_PID, offsetof(struct kvm_vcpu, arch.host_pid));
 	DEFINE(VCPU_GPRS, offsetof(struct kvm_vcpu, arch.gpr));
Signature · 1 line
1.5.4