From: Ian Jackson Subject: Re: [PATCH] xenoprof: Cleanup Date: Tue, 10 Aug 2010 16:55:13 +0100 Message-ID: <19553.30305.743166.641813@mariner.uk.xensource.com> References: <20100806.111754.183128568.kuwa@jp.fujitsu.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20100806.111754.183128568.kuwa@jp.fujitsu.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: KUWAMURA Shin'ya Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org KUWAMURA Shin'ya writes ("[Xen-devel] [PATCH] xenoprof: Cleanup"): > The declaration of ibs_caps also exists in xen/include/asm-x86/xenoprof.h. ... > -/* AMD IBS support */ > -extern u32 ibs_caps; But, in xen/common/xenoprof.c, surely this should be a definition and not a declaration. So more correct would be -extern u32 ibs_caps; +u32 ibs_caps; but that would conflict with the #define in xen/include/asm-ia64/xenoprof.h. So I'm not sure this fix is complete. Ian.