> > +#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
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
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