[PATCH] powerpc: Reduce footprint of xics_ipi_struct

Anton Blanchard anton at samba.org
Mon Feb 1 17:26:53 EST 2010


Hi,

> > +#if defined(CONFIG_XICS) && defined(CONFIG_SMP)
> > +	unsigned long xics_ipi;
> > +#endif
> >  } ____cacheline_aligned irq_cpustat_t;
> 
> This is still a gross abuse of irq_cpustat_t ... Can't we do
> a separate DECLARE_PER_CPU_SHARED_ALIGNED(unsigned long, xics_ipi)
> inside xics.c instead ?

Yeah it was a bit tasteless :) Respinning...

Anton


More information about the Linuxppc-dev mailing list