From: ths Date: Mon, 11 Dec 2006 22:04:25 +0000 (+0000) Subject: MIPS has also a fixed MMAP_SHIFT of 12. X-Git-Tag: TizenStudio_2.0_p2.3~13977 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=0d3267a728ee392bd5113b1d9ad3b135565012e3;p=sdk%2Femulator%2Fqemu.git MIPS has also a fixed MMAP_SHIFT of 12. git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2243 c046a42c-6fe2-441c-8c8c-71466251a162 --- diff --git a/linux-user/syscall.c b/linux-user/syscall.c index 1552979..1c31218 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