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: release_0_9_1~1652 X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=642935632ffa5070262f921df4cd6450fd7e8827;p=qemu-xen-4.5-testing.git MIPS has also a fixed MMAP_SHIFT of 12. --- diff --git a/linux-user/syscall.c b/linux-user/syscall.c index 155297966..1c3121818 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