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-merge

RE: [Xen-merge] CONFIG_XEN vs. CONFIG_X86{,_64}_XEN

To: "Jan Beulich" <JBeulich@xxxxxxxxxx>, <xen-merge@xxxxxxxxxxxxxxxxxxx>
Subject: RE: [Xen-merge] CONFIG_XEN vs. CONFIG_X86{,_64}_XEN
From: "Magenheimer, Dan (HP Labs Fort Collins)" <dan.magenheimer@xxxxxx>
Date: Wed, 21 Dec 2005 08:49:27 -0800
Delivery-date: Wed, 21 Dec 2005 16:52:15 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-merge-request@lists.xensource.com?subject=help>
List-id: xen-merge <xen-merge.lists.xensource.com>
List-post: <mailto:xen-merge@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-merge>, <mailto:xen-merge-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-merge>, <mailto:xen-merge-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-merge-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcYGSYfFEyvV+TcpRi6Ex4a4csIZYwABEdNQ
Thread-topic: [Xen-merge] CONFIG_XEN vs. CONFIG_X86{,_64}_XEN
CONFIG_XEN should be used whenever the change applies
to Xen for all architectures.  CONFIG_X86_XEN should be used
in generic code when a change applies only to x86.
(There was a recent example of this... I can dig it up
if you wish.)  If the code is clearly x86-specific
(e.g. in arch/i386 or include/asm-x86), I agree the
_X86_ part is superfluous.

> -----Original Message-----
> From: xen-merge-bounces@xxxxxxxxxxxxxxxxxxx 
> [mailto:xen-merge-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of 
> Jan Beulich
> Sent: Wednesday, December 21, 2005 9:15 AM
> To: xen-merge@xxxxxxxxxxxxxxxxxxx
> Subject: [Xen-merge] CONFIG_XEN vs. CONFIG_X86{,_64}_XEN
> 
> What was the reason to split these? Why can't we just have a 
> consistent
> CONFIG_XEN (provided in arch/*/Kconfig), and derive all
> architecture-specific information from other CONFIG_* values? Main
> reason for the question is the (apparently) inconsistent use of one or
> the other in various places.
> 
> Thanks, Jan
> 
> _______________________________________________
> Xen-merge mailing list
> Xen-merge@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-merge
> 

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