am 4d39411f: Merge "Support mprotect."

* commit '4d39411f7d41e3c931f8be6b1455ba9627fa71b9':
  Support mprotect.
This commit is contained in:
Andrew Hsieh
2012-08-20 16:27:38 -07:00
committed by Android Git Automerger

View File

@@ -85,3 +85,9 @@ void *mmap_portable(void *addr, size_t size, int prot, int flags, int fd, long o
return ret;
}
extern int mprotect(const void *, size_t, int);
int mprotect_portable(const void *addr, size_t size, int prot)
{
return mprotect(addr, size, mips_change_prot(prot));
}