remap_file_pages.c 379 B

12345678910111213141516
  1. /*
  2. * remap_file_pages() for uClibc
  3. *
  4. * Copyright (C) 2008 Will Newton <will.newton@imgtec.com>
  5. *
  6. * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
  7. */
  8. #include <sys/mman.h>
  9. #include <sys/syscall.h>
  10. #ifdef __NR_remap_file_pages
  11. _syscall5(int, remap_file_pages, void *, __start, size_t, __size,
  12. int, __prot, size_t, __pgoff, int, __flags)
  13. #endif