From: Keir Fraser Subject: Re: xen kernel headers: circular dependencies Date: Mon, 28 Mar 2011 13:46:45 +0100 Message-ID: References: <4D905B5A.50209@amd.com> Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <4D905B5A.50209@amd.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: Christoph Egger , "xen-devel@lists.xensource.com" List-Id: xen-devel@lists.xenproject.org On 28/03/2011 10:56, "Christoph Egger" wrote: > > Hi, > > I just uncovered a circular header dependency starting from > _PAGE_NX. > > Any suggestions on how to fix this? Well the circular definition itself was okay because _PAGE_NX is a macro which doesn't require immediate inclusion of cpufeature.h. However _PAGE_NX is itself a bit gross, and most users can just have at _PAGE_NX_BIT directly. So as a cleanup I've now got rid of _PAGE_NX in c/s 23107. -- Keir > Christoph >