diff options
Diffstat (limited to 'mem.c')
-rw-r--r-- | mem.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -138,7 +138,7 @@ sys_mmap(tcp) struct tcb *tcp; { #ifdef LINUX -# if defined(ALPHA) || defined(sparc) || defined(POWERPC) +# if defined(ALPHA) || defined(sparc) || defined(POWERPC) || defined(MIPS) long *u_arg = tcp->u_arg; # else /* !ALPHA */ long u_arg[6]; @@ -148,7 +148,7 @@ struct tcb *tcp; #endif /* !LINUX */ if (entering(tcp)) { -#if defined(LINUX) && !defined(ALPHA) && !defined(sparc) && !defined(POWERPC) +#if defined(LINUX) && !defined(ALPHA) && !defined(sparc) && !defined(POWERPC) && !defined(MIPS) if (umoven(tcp, tcp->u_arg[0], sizeof u_arg, (char *) u_arg) == -1) return 0; |