aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/kernel/asm-offsets.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/powerpc/kernel/asm-offsets.c')
-rw-r--r--arch/powerpc/kernel/asm-offsets.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/arch/powerpc/kernel/asm-offsets.c b/arch/powerpc/kernel/asm-offsets.c
index 3734973f7394..e981d1ce1914 100644
--- a/arch/powerpc/kernel/asm-offsets.c
+++ b/arch/powerpc/kernel/asm-offsets.c
@@ -49,7 +49,7 @@
49#include <asm/iseries/alpaca.h> 49#include <asm/iseries/alpaca.h>
50#endif 50#endif
51#ifdef CONFIG_KVM 51#ifdef CONFIG_KVM
52#include <asm/kvm_44x.h> 52#include <linux/kvm_host.h>
53#endif 53#endif
54 54
55#if defined(CONFIG_BOOKE) || defined(CONFIG_40x) 55#if defined(CONFIG_BOOKE) || defined(CONFIG_40x)
@@ -285,9 +285,6 @@ int main(void)
285#endif /* ! CONFIG_PPC64 */ 285#endif /* ! CONFIG_PPC64 */
286 286
287 /* About the CPU features table */ 287 /* About the CPU features table */
288 DEFINE(CPU_SPEC_ENTRY_SIZE, sizeof(struct cpu_spec));
289 DEFINE(CPU_SPEC_PVR_MASK, offsetof(struct cpu_spec, pvr_mask));
290 DEFINE(CPU_SPEC_PVR_VALUE, offsetof(struct cpu_spec, pvr_value));
291 DEFINE(CPU_SPEC_FEATURES, offsetof(struct cpu_spec, cpu_features)); 288 DEFINE(CPU_SPEC_FEATURES, offsetof(struct cpu_spec, cpu_features));
292 DEFINE(CPU_SPEC_SETUP, offsetof(struct cpu_spec, cpu_setup)); 289 DEFINE(CPU_SPEC_SETUP, offsetof(struct cpu_spec, cpu_setup));
293 DEFINE(CPU_SPEC_RESTORE, offsetof(struct cpu_spec, cpu_restore)); 290 DEFINE(CPU_SPEC_RESTORE, offsetof(struct cpu_spec, cpu_restore));
@@ -362,8 +359,6 @@ int main(void)
362 DEFINE(PTE_SIZE, sizeof(pte_t)); 359 DEFINE(PTE_SIZE, sizeof(pte_t));
363 360
364#ifdef CONFIG_KVM 361#ifdef CONFIG_KVM
365 DEFINE(TLBE_BYTES, sizeof(struct kvmppc_44x_tlbe));
366
367 DEFINE(VCPU_HOST_STACK, offsetof(struct kvm_vcpu, arch.host_stack)); 362 DEFINE(VCPU_HOST_STACK, offsetof(struct kvm_vcpu, arch.host_stack));
368 DEFINE(VCPU_HOST_PID, offsetof(struct kvm_vcpu, arch.host_pid)); 363 DEFINE(VCPU_HOST_PID, offsetof(struct kvm_vcpu, arch.host_pid));
369 DEFINE(VCPU_GPRS, offsetof(struct kvm_vcpu, arch.gpr)); 364 DEFINE(VCPU_GPRS, offsetof(struct kvm_vcpu, arch.gpr));