summaryrefslogtreecommitdiffstats
path: root/arch/m68k/include/asm/motorola_pgtable.h
diff options
context:
space:
mode:
authorGreg Ungerer <gerg@uclinux.org>2011-10-18 16:16:43 +1000
committerGreg Ungerer <gerg@uclinux.org>2011-12-30 10:20:37 +1000
commitd49316e84bbad307543c50be53555ca9a768f31d (patch)
treee68b95c71ea0c60cf3d8656ee9f4e4008bdc8420 /arch/m68k/include/asm/motorola_pgtable.h
parent60610192559d430dd24d9b508ae9d8d249709af9 (diff)
downloadop-kernel-dev-d49316e84bbad307543c50be53555ca9a768f31d.zip
op-kernel-dev-d49316e84bbad307543c50be53555ca9a768f31d.tar.gz
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>
Diffstat (limited to 'arch/m68k/include/asm/motorola_pgtable.h')
-rw-r--r--arch/m68k/include/asm/motorola_pgtable.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/m68k/include/asm/motorola_pgtable.h b/arch/m68k/include/asm/motorola_pgtable.h
index 45bd3f5..e0fdd4d 100644
--- a/arch/m68k/include/asm/motorola_pgtable.h
+++ b/arch/m68k/include/asm/motorola_pgtable.h
@@ -8,6 +8,7 @@
#define _PAGE_PRESENT 0x001
#define _PAGE_SHORT 0x002
#define _PAGE_RONLY 0x004
+#define _PAGE_READWRITE 0x000
#define _PAGE_ACCESSED 0x008
#define _PAGE_DIRTY 0x010
#define _PAGE_SUPER 0x080 /* 68040 supervisor only */
OpenPOWER on IntegriCloud