From: Stefano Stabellini Date: Fri, 22 Jun 2012 13:48:27 +0000 (+0000) Subject: xen/arm: fix the shared_info and vcpu_info structs X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=17a6e76b846eb4f033b756086eb8e757d0311840;p=people%2Fsstabellini%2Flinux-pvhvm-deprecated.git xen/arm: fix the shared_info and vcpu_info structs Fix the shared_info and vcpu_info struct definitions to match the ones in Xen. Signed-off-by: Stefano Stabellini --- diff --git a/arch/arm/include/asm/xen/interface.h b/arch/arm/include/asm/xen/interface.h index 3ad2d4b46d8..8ab7cebbdbe 100644 --- a/arch/arm/include/asm/xen/interface.h +++ b/arch/arm/include/asm/xen/interface.h @@ -40,19 +40,10 @@ DEFINE_GUEST_HANDLE(xen_pfn_t); #endif /* Maximum number of virtual CPUs in multi-processor guests. */ -#define MAX_VIRT_CPUS 32 +#define MAX_VIRT_CPUS 1 -struct arch_vcpu_info { - unsigned long cr2; - unsigned long pad; /* sizeof(vcpu_info_t) == 64 */ -}; - -struct arch_shared_info { - unsigned long max_pfn; /* max pfn that appears in table */ - /* Frame containing list of mfns containing list of mfns containing p2m. */ - unsigned long pfn_to_mfn_frame_list_list; - unsigned long nmi_reason; -}; +struct arch_vcpu_info { }; +struct arch_shared_info { }; /* XXX: Move pvclock definitions some place arch independent */ struct pvclock_vcpu_time_info {