| * Copyright (C) 2007-2009 Michal Simek <monstr@monstr.eu> |
| * Copyright (C) 2007-2009 PetaLogix |
| * Copyright (C) 2007 John Williams <john.williams@petalogix.com> |
| * Copyright (C) 2006 Atmark Techno, Inc. |
| * Yasushi SHOJI <yashi@atmark-techno.com> |
| * Tetsuya OHKAWA <tetsuya@atmark-techno.com> |
| * This file is subject to the terms and conditions of the GNU General Public |
| * License. See the file "COPYING" in the main directory of this archive |
| #include <linux/syscalls.h> |
| #include <linux/module.h> |
| #include <linux/semaphore.h> |
| #include <linux/uaccess.h> |
| #include <linux/unistd.h> |
| #include <asm/syscalls.h> |
| asmlinkage long sys_mmap(unsigned long addr, unsigned long len, |
| unsigned long prot, unsigned long flags, |
| unsigned long fd, off_t pgoff) |
| return sys_mmap_pgoff(addr, len, prot, flags, fd, pgoff >> PAGE_SHIFT); |