Re: [PATCH] ppc32: remove secondary_ti

2008-11-16 Thread Milton Miller
On Nov 16, 2008, at 2:26 PM, Benjamin Herrenschmidt wrote: On Sun, 2008-11-16 at 15:43 -0600, Milton Miller wrote: Instead of copying current_set[cpu] to secondary_ti, directly index into current_set by the cpu number like head_64.S. In addition to removing the variable, a slow to respond cp

Re: [PATCH] ppc32: remove secondary_ti

2008-11-16 Thread Benjamin Herrenschmidt
On Sun, 2008-11-16 at 15:43 -0600, Milton Miller wrote: > Instead of copying current_set[cpu] to secondary_ti, directly index into > current_set by the cpu number like head_64.S. In addition to removing > the variable, a slow to respond cpu will not clobber another cpus > stack. Except that we do

[PATCH] ppc32: remove secondary_ti

2008-11-16 Thread Milton Miller
Instead of copying current_set[cpu] to secondary_ti, directly index into current_set by the cpu number like head_64.S. In addition to removing the variable, a slow to respond cpu will not clobber another cpus stack. --- grep found no other reference in arch/powerpc. compile tested but I have no