Patchwork [4/4] Define MMAP_SHIFT for ColdFire

login
register
mail settings
Submitter Maxim Kuvyrkov
Date March 1, 2010, 7:33 p.m.
Message ID <4B8C167E.4070005@codesourcery.com>
Download mbox | patch
Permalink /patch/46600/
State New
Headers show

Comments

Maxim Kuvyrkov - March 1, 2010, 7:33 p.m.
From c65168b123032ef2ab10c90254e4ac8bc6cb0120 Mon Sep 17 00:00:00 2001
From: Maxim Kuvyrkov <maxim@codesourcery.com>
Date: Mon, 1 Mar 2010 02:51:10 -0800
Subject: [PATCH 4/4] Define MMAP_SHIFT for ColdFire

ColdFire has MMAP_SHIFT equal to TARGET_PAGE_BITS.

Signed-off-by: Maxim Kuvyrkov <maxim@codesourcery.com>
---
 target-m68k/cpu.h |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

Patch

diff --git a/target-m68k/cpu.h b/target-m68k/cpu.h
index 6bafc40..6f652c5 100644
--- a/target-m68k/cpu.h
+++ b/target-m68k/cpu.h
@@ -210,6 +210,7 @@  void register_m68k_insns (CPUM68KState *env);
 #ifdef CONFIG_USER_ONLY
 /* Linux uses 8k pages.  */
 #define TARGET_PAGE_BITS 13
+#define MMAP_SHIFT TARGET_PAGE_BITS
 #else
 /* Smallest TLB entry size is 1k.  */
 #define TARGET_PAGE_BITS 10