Re: [PATCH 2/4] powerpc: Add new save_tar() register function.

2013-08-07 Thread Michael Neuling
> > +#ifdef CONFIG_PPC_BOOK3S_64 > > +_GLOBAL(_save_tar) > > + /* > > +* Back up the TAR across context switches. Note that the TAR is not > > +* available for use in the kernel. (To provide this, the TAR should > > +* be backed up/restored on exception entry/exit instead, and be in

Re: [PATCH 2/4] powerpc: Add new save_tar() register function.

2013-08-07 Thread Paul Mackerras
On Wed, Aug 07, 2013 at 04:11:56PM +1000, Michael Neuling wrote: > Add save_tar() function to save the Target Address Register (TAR). This will > be used in a future patch to save the TAR earlier than it currently is. > > Signed-off-by: Michael Neuling > Cc: > --- > arch/powerpc/include/asm/sw

[PATCH 2/4] powerpc: Add new save_tar() register function.

2013-08-06 Thread Michael Neuling
Add save_tar() function to save the Target Address Register (TAR). This will be used in a future patch to save the TAR earlier than it currently is. Signed-off-by: Michael Neuling Cc: --- arch/powerpc/include/asm/switch_to.h | 5 + arch/powerpc/kernel/entry_64.S | 12 2