[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-unstable] Remove duplicated __cacheline_aligned attribute from irq_desc arrays



# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1224690093 -3600
# Node ID 71faca83998d21aaa698aa14d52fb256770f7994
# Parent  734a5493f03a9ca31d47adf7a2f78e255e5e9ea9
Remove duplicated __cacheline_aligned attribute from irq_desc arrays

Remove duplicated __cacheline_aligned attribute, as it's
already included in type declaration.

Signed-off-by: Kevin Tian <kevin.tian@xxxxxxxxx>
---
 xen/arch/ia64/xen/irq.c |    2 +-
 xen/arch/x86/smpboot.c  |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff -r 734a5493f03a -r 71faca83998d xen/arch/ia64/xen/irq.c
--- a/xen/arch/ia64/xen/irq.c   Wed Oct 22 16:39:37 2008 +0100
+++ b/xen/arch/ia64/xen/irq.c   Wed Oct 22 16:41:33 2008 +0100
@@ -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 734a5493f03a -r 71faca83998d xen/arch/x86/smpboot.c
--- a/xen/arch/x86/smpboot.c    Wed Oct 22 16:39:37 2008 +0100
+++ b/xen/arch/x86/smpboot.c    Wed Oct 22 16:41:33 2008 +0100
@@ -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 =

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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.