[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [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@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 _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |