From 642935632ffa5070262f921df4cd6450fd7e8827 Mon Sep 17 00:00:00 2001 From: ths Date: Mon, 11 Dec 2006 22:04:25 +0000 Subject: [PATCH] MIPS has also a fixed MMAP_SHIFT of 12. --- linux-user/syscall.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/linux-user/syscall.c b/linux-user/syscall.c index 15529796..1c312181 100644 --- a/linux-user/syscall.c +++ b/linux-user/syscall.c @@ -2673,7 +2673,7 @@ long do_syscall(void *cpu_env, int num, long arg1, long arg2, long arg3, break; #ifdef TARGET_NR_mmap2 case TARGET_NR_mmap2: -#if defined(TARGET_SPARC) +#if defined(TARGET_SPARC) || defined(TARGET_MIPS) #define MMAP_SHIFT 12 #else #define MMAP_SHIFT TARGET_PAGE_BITS -- 2.39.5