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

xen-devel

[Top] [All Lists]

[Xen-devel] [PATCH] Remove duplicated __cacheline_aligned attribute

To: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] [PATCH] Remove duplicated __cacheline_aligned attribute
From: "Tian, Kevin" <kevin.tian@xxxxxxxxx>
Date: 2008年10月22日 23:29:55 +0800
Accept-language: en-US
Acceptlanguage: en-US
Delivery-date: 2008年10月22日 08:30:39 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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: Ack0WwiWsz/EYvLXRXyMZ837y7wtqQ==
Thread-topic: [PATCH] Remove duplicated __cacheline_aligned attribute
Remove duplicated __cacheline_aligned attribute, as it's
already included in type declaration.
Just build test.
Signed-off-by Kevin Tian <kevin.tian@xxxxxxxxx>
diff -r 75726312e548 xen/arch/ia64/xen/irq.c
--- a/xen/arch/ia64/xen/irq.c Wed Oct 22 14:43:14 2008 +0800
+++ b/xen/arch/ia64/xen/irq.c Wed Oct 22 14:47:42 2008 +0800
@@ -74,7 +74,7 @@ unsigned int __ia64_local_vector_to_irq
 /*
 * Controller mappings for all interrupt sources:
 */
-irq_desc_t irq_desc[NR_IRQS] __cacheline_aligned = {
+irq_desc_t irq_desc[NR_IRQS] = {
 [0 ... NR_IRQS-1] = {
 .status = IRQ_DISABLED,
 .handler = &no_irq_type,
diff -r 75726312e548 xen/arch/x86/smpboot.c
--- a/xen/arch/x86/smpboot.c Wed Oct 22 14:43:14 2008 +0800
+++ b/xen/arch/x86/smpboot.c Wed Oct 22 14:48:37 2008 +0800
@@ -101,7 +101,7 @@ static int __devinitdata tsc_sync_disabl
 static int __devinitdata tsc_sync_disabled;
 /* Per CPU bogomips and other parameters */
-struct cpuinfo_x86 cpu_data[NR_CPUS] __cacheline_aligned;
+struct cpuinfo_x86 cpu_data[NR_CPUS];
 EXPORT_SYMBOL(cpu_data);
 u32 x86_cpu_to_apicid[NR_CPUS] __read_mostly =

Attachment: cachealign.patch
Description: cachealign.patch

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] [PATCH] Remove duplicated __cacheline_aligned attribute, Tian, Kevin <=
Previous by Date: RE: [Xen-devel] [PATCH] [VTD] Remove PCI device enumeration for dom0 in Xen , Han, Weidong
Next by Date: Re: [Xen-devel] [PATCH] [VTD] Remove PCI device enumeration for dom0 in Xen , Yu Zhao
Previous by Thread: [Xen-devel] [PATCH]: Better checking in range_straddles_page_boundary , Chris Lalancette
Next by Thread: [xen-devel][PATCH] Battery Management - Power management daemon , Kamala Narasimhan
Indexes: [Date] [Thread] [Top] [All Lists]

Copyright ©, Citrix Systems Inc. All rights reserved. Legal and Privacy
Citrix This site is hosted by Citrix

AltStyle によって変換されたページ (->オリジナル) /