Tian, Kevin
2008-Oct-22 15:29 UTC
[Xen-devel] [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@intel.com> 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 _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel