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-ia64-devel

[Xen-ia64-devel] [PATCH] add the definition of __cacheline_aligned and i

To: Tristan Gingold <Tristan.Gingold@xxxxxxxx>
Subject: [Xen-ia64-devel] [PATCH] add the definition of __cacheline_aligned and its variants (was Re: [PATCH] allow vcpu to move between pcpus)
From: Isaku Yamahata <yamahata@xxxxxxxxxxxxx>
Date: Mon, 3 Jul 2006 19:27:42 +0900
Cc: xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Mon, 03 Jul 2006 03:31:07 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <200607031034.33614.Tristan.Gingold@xxxxxxxx>
List-help: <mailto:xen-ia64-devel-request@lists.xensource.com?subject=help>
List-id: Discussion of the ia64 port of Xen <xen-ia64-devel.lists.xensource.com>
List-post: <mailto:xen-ia64-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ia64-devel>, <mailto:xen-ia64-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ia64-devel>, <mailto:xen-ia64-devel-request@lists.xensource.com?subject=unsubscribe>
References: <200606220914.02813.Tristan.Gingold@xxxxxxxx> <20060703042220.GB10979%yamahata@xxxxxxxxxxxxx> <200607031034.33614.Tristan.Gingold@xxxxxxxx>
Sender: xen-ia64-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.4.2.1i
On Mon, Jul 03, 2006 at 10:34:33AM +0200, Tristan Gingold wrote:

> Also, note that __cacheline_aligned_in_smp is defined as nothing on xen/ia64.
> You'd better either not to use it or define it.

I missed that. Here is the patch to add the difinitions.

The comment says that the definition caused a compilation problem.
However I was able to compile xen with gcc 3.4.4. with the patch.
I think this patch won't cause compilation problem
because Linux kernel already uses the similar difinitions.

Thanks
-- 
yamahata

Attachment: 10609:ac23e410d25e_cacheline_aligned.patch
Description: Text document

_______________________________________________
Xen-ia64-devel mailing list
Xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-ia64-devel
<Prev in Thread] Current Thread [Next in Thread>