Re: [PATCH 06/35] m68k: modify user space access functions to support ColdFire CPUs

Geert Uytterhoeven
2011-12-25T19:56:53Z

On Fri, Dec 23, 2011 at 04:15, <gerg@snapgear.com> wrote:
> From: Greg Ungerer <gerg@uclinux.org>
>
> Modify the user space access functions to support the ColdFire V4e cores
> running with MMU enabled.
>
> The ColdFire processors do not support the "moves" instruction used by
> the traditional 680x0 processors for moving data into and out of another
> address space. They only support the notion of a single address space,
> and you use the usual "move" instruction to access that.
>
> Create a new config symbol (CONFIG_CPU_HAS_ADDRESS_SPACES) to mark the
> CPU types that support separate address spaces, and thus also support
> the sfc/dfc registers and the "moves" instruction that go along with that.
>
> The code is almost identical for user space access, so lets just use a
> define to choose either the "move" or "moves" in the assembler code.
>
> 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