1 /* Use new style mmap for mips */
3 * Copyright (C) 2000-2006 Erik Andersen <andersen@uclibc.org>
5 * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
11 #include <sys/syscall.h>
15 /* For now, leave mmap using mmap1 since mmap2 seems
16 * to have issues (i.e. it doesn't work 100% properly).
20 # define __NR_mmap __NR_mmap2
24 _syscall6 (__ptr_t, mmap, __ptr_t, addr, size_t, len, int, prot,
25 int, flags, int, fd, __off_t, offset)