]> git.karo-electronics.de Git - linux-beck.git/commit
m68k: use ColdFire MMU read/write bit flags when ioremapping
authorGreg Ungerer <gerg@uclinux.org>
Tue, 18 Oct 2011 06:16:43 +0000 (16:16 +1000)
committerGreg Ungerer <gerg@uclinux.org>
Fri, 30 Dec 2011 00:20:37 +0000 (10:20 +1000)
commitd49316e84bbad307543c50be53555ca9a768f31d
treee68b95c71ea0c60cf3d8656ee9f4e4008bdc8420
parent60610192559d430dd24d9b508ae9d8d249709af9
m68k: use ColdFire MMU read/write bit flags when ioremapping

The ColdFire MMU has separate read and write bits, unlike the Motorola
m68k MMU which has a single read-only bit.

Define a _PAGE_READWRITE value for the Motorola MMU, which is 0, so we
can unconditionaly include that in the page table entry bits when setting
up ioremapped pages.

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/motorola_pgtable.h
arch/m68k/mm/kmap.c