From mboxrd@z Thu Jan 1 00:00:00 1970 From: Neil Turton Subject: Re: [PATCH]Fix vlapic.h type Date: Wed, 08 Jul 2009 10:15:18 +0100 Message-ID: <4A5463A6.5030001@solarflare.com> References: <4A53BC08.1040100@amd.com> <4A544B76.6000304@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <4A544B76.6000304@citrix.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Patrick Colp Cc: Wei Huang , "'xen-devel@lists.xensource.com'" List-Id: xen-devel@lists.xenproject.org Patrick Colp wrote: > Good catch. This line: > > #define vlapic_vcpu(vpic) (container_of((vpic), struct vcpu, \ > arch.hvm_vcpu.vlapic)) > > should probably also be changed to this: > > #define vlapic_vcpu(vlapic) (container_of((vlapic), struct vcpu, \ > arch.hvm_vcpu.vlapic)) I'm not sure. Do you intend to change the member name after hvm_vcpu based on the macro parameter? Cheers, Neil.