WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] xen kernel headers: circular dependencies

To: Christoph Egger <Christoph.Egger@xxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] xen kernel headers: circular dependencies
From: Keir Fraser <keir@xxxxxxx>
Date: Mon, 28 Mar 2011 13:46:45 +0100
Cc:
Delivery-date: Mon, 28 Mar 2011 05:47:36 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:sender:user-agent:date:subject:from:to :message-id:thread-topic:thread-index:in-reply-to:mime-version :content-type:content-transfer-encoding; bh=sHeRNDhnbCPcKNvQllYWEN2l8RlsJutvb7NMVJgElOw=; b=n/bzNjuWtYuY1mun/wmLSvXl/QCtK64j5N1+O1m3dbAV3HYpYAhSiEWlCbmTEVZRt0 51ICFTkcTzq4hc9WLFt+Eg/rObkq5u42BYERJMqILnnAExSlS8GUGw8o81hQQoQiqNAI 0PN5s1nXoZ3AuCBihMuknUTumFCBsJph1jdxc=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:user-agent:date:subject:from:to:message-id:thread-topic :thread-index:in-reply-to:mime-version:content-type :content-transfer-encoding; b=a1N36353XwEyZtII+BKQeTe1n5PJFIixPmy1cCwjCH0W3d77ic8TgVjGo7/tPgVidF GjsEoFS0ipT4vb9KXXWoZIsuo5j//wJJPEXlldAiAJfKAOkOc7MSVMMvlaoZdEfNGpL4 UzAd93oRts3b21Jcti/KAcY5m2rS8S1Z5TxWo=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4D905B5A.50209@xxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcvtRjHZGGdf46D06kOalhW9+E7E4A==
Thread-topic: [Xen-devel] xen kernel headers: circular dependencies
User-agent: Microsoft-Entourage/12.28.0.101117
On 28/03/2011 10:56, "Christoph Egger" <Christoph.Egger@xxxxxxx> 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
> 



_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

<Prev in Thread] Current Thread [Next in Thread>