]> git.karo-electronics.de Git - karo-tx-linux.git/commit
m68k: define PAGE_OFFSET_RAW for ColdFire CPU with MMU enabled
authorGreg Ungerer <gerg@uclinux.org>
Tue, 15 Nov 2011 04:12:01 +0000 (14:12 +1000)
committerGreg Ungerer <gerg@uclinux.org>
Fri, 30 Dec 2011 00:20:31 +0000 (10:20 +1000)
commitbfe4375a1a184c2145ef235e782660400b005882
tree43f1aedde3bf8c429629c8ef6377e6759decbffe
parentb852de4e7f7d6f4373901e3a880f6f29a65e7937
m68k: define PAGE_OFFSET_RAW for ColdFire CPU with MMU enabled

The ColdFire CPU configurations need PAGE_OFFSET_RAW set to the base of
their RAM. It doesn't matter if they are running with the MMU enabled or
disabled, it is always set to the base of RAM.

We can keep the choices simple here and key of CONFIG_RAMBASE. If it is
defined we are on a plaftorm (ColdFire or other non-MMU systems) which
have a configurable RAM base, just use it.

Reported-by: Alexander Stein <alexander.stein@systec-electronic.com>
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>
arch/m68k/include/asm/page_offset.h