From: Jerone Young Date: Mon, 19 Nov 2007 23:06:34 +0000 (-0600) Subject: KVM: Portability: Move structure lapic_state to X-Git-Tag: v2.6.25-rc1~1138^2~117 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d9ecf9281069c4c8dd429e1eb61cb7e0f3dda6b4;p=linux-2.6 KVM: Portability: Move structure lapic_state to This patch moves structure lapic_state from include/linux/kvm.h to include/asm-x86/kvm.h Signed-off-by: Jerone Young Signed-off-by: Avi Kivity --- diff --git a/include/asm-x86/kvm.h b/include/asm-x86/kvm.h index c83a2ff35b..a2c65b5c4a 100644 --- a/include/asm-x86/kvm.h +++ b/include/asm-x86/kvm.h @@ -76,4 +76,10 @@ struct kvm_regs { __u64 rip, rflags; }; +/* for KVM_GET_LAPIC and KVM_SET_LAPIC */ +#define KVM_APIC_REG_SIZE 0x400 +struct kvm_lapic_state { + char regs[KVM_APIC_REG_SIZE]; +}; + #endif diff --git a/include/linux/kvm.h b/include/linux/kvm.h index 0d83efc946..280ec0d85b 100644 --- a/include/linux/kvm.h +++ b/include/linux/kvm.h @@ -150,11 +150,6 @@ struct kvm_fpu { __u32 pad2; }; -/* for KVM_GET_LAPIC and KVM_SET_LAPIC */ -#define KVM_APIC_REG_SIZE 0x400 -struct kvm_lapic_state { - char regs[KVM_APIC_REG_SIZE]; -}; struct kvm_segment { __u64 base;