Re: powerpc: Replace __get_cpu_var uses

2014-11-03 Thread Michael Ellerman
On Tue, 2014-10-21 at 15:23 -0500, Christoph Lameter wrote: > This still has not been merged and now powerpc is the only arch that does > not have this change. Sorry about missing linuxppc-dev before. Hi Christoph, I've put this in a topic branch, with the fixups I described last week: https:

Re: powerpc: Replace __get_cpu_var uses

2014-10-29 Thread Christoph Lameter
On Wed, 29 Oct 2014, Michael Ellerman wrote: > > #define __ARCH_IRQ_STAT > > > > -#define local_softirq_pending() > > __get_cpu_var(irq_stat).__softirq_pending > > +#define local_softirq_pending() > > __this_cpu_read(irq_stat.__softirq_pending) > > +#define set_softirq_pending(x) __this_c

Re: powerpc: Replace __get_cpu_var uses

2014-10-28 Thread Michael Ellerman
On Tue, 2014-21-10 at 20:23:25 UTC, Christoph Lameter wrote: > This still has not been merged and now powerpc is the only arch that does > not have this change. Sorry about missing linuxppc-dev before. > > --- linux.orig/arch/powerpc/include/asm/hardirq.h > +++ linux/arch/powerpc/include/asm/hardi

Re: powerpc: Replace __get_cpu_var uses

2014-10-27 Thread Benjamin Herrenschmidt
On Tue, 2014-10-28 at 09:04 +1100, Michael Ellerman wrote: > On Tue, 2014-10-28 at 08:10 +1100, Benjamin Herrenschmidt wrote: > > On Mon, 2014-10-27 at 10:57 -0500, Christoph Lameter wrote: > > > Ping? We are planning to remove support for __get_cpu_var in the > > > 3.19 merge period. I can move th

Re: powerpc: Replace __get_cpu_var uses

2014-10-27 Thread Christoph Lameter
On Tue, 28 Oct 2014, Michael Ellerman wrote: > I'm happy to put it in a topic branch for 3.19, or move the definition or > whatever, your choice Christoph. Get the patch merged please. ___ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https:

Re: powerpc: Replace __get_cpu_var uses

2014-10-27 Thread Michael Ellerman
On Tue, 2014-10-28 at 08:10 +1100, Benjamin Herrenschmidt wrote: > On Mon, 2014-10-27 at 10:57 -0500, Christoph Lameter wrote: > > Ping? We are planning to remove support for __get_cpu_var in the > > 3.19 merge period. I can move the definition for __get_cpu_var into the > > powerpc per cpu definit

Re: powerpc: Replace __get_cpu_var uses

2014-10-27 Thread Benjamin Herrenschmidt
On Mon, 2014-10-27 at 10:57 -0500, Christoph Lameter wrote: > Ping? We are planning to remove support for __get_cpu_var in the > 3.19 merge period. I can move the definition for __get_cpu_var into the > powerpc per cpu definition instead if we cannot get this merged? Yes, yes, I know, we should me

Re: powerpc: Replace __get_cpu_var uses

2014-10-27 Thread Christoph Lameter
Ping? We are planning to remove support for __get_cpu_var in the 3.19 merge period. I can move the definition for __get_cpu_var into the powerpc per cpu definition instead if we cannot get this merged? On Tue, 21 Oct 2014, Christoph Lameter wrote: > > This still has not been merged and now powerp

powerpc: Replace __get_cpu_var uses

2014-10-21 Thread Christoph Lameter
This still has not been merged and now powerpc is the only arch that does not have this change. Sorry about missing linuxppc-dev before. V2->V2 - Fix up to work against 3.18-rc1 __get_cpu_var() is used for multiple purposes in the kernel source. One of them is address calculation via the form