diff options
author | Greg Ungerer <gerg@uclinux.org> | 2011-10-17 03:26:11 -0400 |
---|---|---|
committer | Greg Ungerer <gerg@uclinux.org> | 2011-12-29 19:20:32 -0500 |
commit | 9e95f7cdf5c3741ed00a298c0201d624833b4102 (patch) | |
tree | cd1f4ac06bc1615c3917632ab9b2c45ee0d1c7cd /arch/m68k | |
parent | bfe4375a1a184c2145ef235e782660400b005882 (diff) |
m68k: set ColdFire MMU page size
We use the ColdFire V4e MMU page size of 8KiB. Define PAGE_SHIFT
appropriately.
Signed-off-by: Greg Ungerer <gerg@uclinux.org>
Acked-by: Geert Uytterhoeven <geert@linux-m68k.org>
Acked-by: Matt Waddel <mwaddel@yahoo.com>
Acked-by: Kurt Mahan <kmahan@xmission.com>
Diffstat (limited to 'arch/m68k')
-rw-r--r-- | arch/m68k/include/asm/page.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/m68k/include/asm/page.h b/arch/m68k/include/asm/page.h index ba6c91d5f3a9..98baa82a8615 100644 --- a/arch/m68k/include/asm/page.h +++ b/arch/m68k/include/asm/page.h | |||
@@ -6,10 +6,10 @@ | |||
6 | #include <asm/page_offset.h> | 6 | #include <asm/page_offset.h> |
7 | 7 | ||
8 | /* PAGE_SHIFT determines the page size */ | 8 | /* PAGE_SHIFT determines the page size */ |
9 | #ifndef CONFIG_SUN3 | 9 | #if defined(CONFIG_SUN3) || defined(CONFIG_COLDFIRE) |
10 | #define PAGE_SHIFT (12) | 10 | #define PAGE_SHIFT 13 |
11 | #else | 11 | #else |
12 | #define PAGE_SHIFT (13) | 12 | #define PAGE_SHIFT 12 |
13 | #endif | 13 | #endif |
14 | #define PAGE_SIZE (_AC(1, UL) << PAGE_SHIFT) | 14 | #define PAGE_SIZE (_AC(1, UL) << PAGE_SHIFT) |
15 | #define PAGE_MASK (~(PAGE_SIZE-1)) | 15 | #define PAGE_MASK (~(PAGE_SIZE-1)) |