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] recent major -unstable changes cause ia64 build to bebro

To: "Ian Pratt" <m+Ian.Pratt@xxxxxxxxxxxx>
Subject: Re: [Xen-devel] recent major -unstable changes cause ia64 build to bebroken
From: Hollis Blanchard <hollisb@xxxxxxxxxx>
Date: Wed, 11 May 2005 12:02:04 -0500
Cc: "Magenheimer, Dan \(HP Labs Fort Collins\)" <dan.magenheimer@xxxxxx>, xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Wed, 11 May 2005 17:01:43 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <A95E2296287EAD4EB592B5DEEFCE0E9D1E3F7A@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
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/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <A95E2296287EAD4EB592B5DEEFCE0E9D1E3F7A@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
On May 11, 2005, at 10:33 AM, Ian Pratt wrote:

Another new problem due to a common change...

xen/include/xen/cpumask.h declares:

  extern cpumask_t cpu_online_map;

However, with CONFIG_SMP off, xen/include/xen/smp.h defines
cpu_online_map to 1.

It's daft that we even have a CONFIG_SMP option in Xen. It spends most
of its time broken because no-one using x86 builds it, and you won't
even be able to buy any non SMP hardware before long...

I'd vote for expunging CONFIG_SMP.

I've had this problem before too, and I wished that UP Xen would build, since so far I haven't worried about SMP on PowerPC at all, and I think Dan is in the same situation.

However, since nobody builds UP on x86 then it will continually be broken. I guess we could say goodbye to CONFIG_SMP and architectures without SMP support can just stub out the SMP functions, #define NR_CPUS 1, etc. This is what I'm doing now... Dan, does that work for you?

--
Hollis Blanchard
IBM Linux Technology Center


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

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