[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-trivial] [PATCH] microblaze: cpu: Delete MMAP_SHIFT definition
From: |
Edgar E. Iglesias |
Subject: |
Re: [Qemu-trivial] [PATCH] microblaze: cpu: Delete MMAP_SHIFT definition |
Date: |
Fri, 15 May 2015 15:41:42 +1000 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
On Thu, May 14, 2015 at 10:33:39PM -0700, Peter Crosthwaite wrote:
> From: Peter Crosthwaite <address@hidden>
>
> Just fallback on the default of 12 like other architectures. This
> allows changing the system-mode-affecting definition of
> TARGET_PAGE_BITS without affecting microblaze linux-user.
Reviewed-by: Edgar E. Iglesias <address@hidden>
>
> Signed-off-by: Peter Crosthwaite <address@hidden>
> ---
> target-microblaze/cpu.h | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/target-microblaze/cpu.h b/target-microblaze/cpu.h
> index 4ea04ac..d73e1c7 100644
> --- a/target-microblaze/cpu.h
> +++ b/target-microblaze/cpu.h
> @@ -285,7 +285,6 @@ int cpu_mb_signal_handler(int host_signum, void *pinfo,
>
> /* FIXME: MB uses variable pages down to 1K but linux only uses 4k. */
> #define TARGET_PAGE_BITS 12
> -#define MMAP_SHIFT TARGET_PAGE_BITS
>
> #define TARGET_PHYS_ADDR_SPACE_BITS 32
> #define TARGET_VIRT_ADDR_SPACE_BITS 32
> --
> 1.9.1
>