Re: [PATCH 10/35] m68k: set register a2 to current if MMU enabled on ColdFire

Geert Uytterhoeven
2011-12-25T20:09:13Z

On Fri, Dec 23, 2011 at 04:15, <gerg@snapgear.com> wrote:
> From: Greg Ungerer <gerg@uclinux.org>
>
> Virtual memory m68k systems build with register a2 dedicated to being the
> current proc pointer (non-MMU don't do this). Add code to the ColdFire
> interrupt and exception processing to set this on entry, and at context
> switch time. We use the same GET_CURRENT() macro that MMU enabled code
> uses - modifying it so that the assembler is ColdFire clean.
>
> Signed-off-by: Greg Ungerer <gerg@uclinux.org>
> Acked-by: Matt Waddel <mwaddel@yahoo.com>
> Acked-by: Kurt Mahan <kmahan@xmission.com>

Acked-by: Geert Uytterhoeven <geert@linux-m68k.org>
Gr{oetje,eeting}s,

Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds