projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8e33c08
)
MIPS has also a fixed MMAP_SHIFT of 12.
author
ths
<ths@c046a42c-6fe2-441c-8c8c-71466251a162>
Mon, 11 Dec 2006 22:04:25 +0000
(22:04 +0000)
committer
ths
<ths@c046a42c-6fe2-441c-8c8c-71466251a162>
Mon, 11 Dec 2006 22:04:25 +0000
(22:04 +0000)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2243
c046a42c
-6fe2-441c-8c8c-
71466251a162
linux-user/syscall.c
patch
|
blob
|
history
diff --git
a/linux-user/syscall.c
b/linux-user/syscall.c
index 155297966e0d3171043a0ee113b4814517e82722..1c312181865fe4a747b605845cf971330601d42e 100644
(file)
--- 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