Commit | Line | Data |
---|---|---|
1da177e4 LT |
1 | /* $Id: sys_cris.c,v 1.6 2004/03/11 11:38:40 starvik Exp $ |
2 | * | |
3 | * linux/arch/cris/kernel/sys_cris.c | |
4 | * | |
5 | * This file contains various random system calls that | |
6 | * have a non-standard calling sequence on some platforms. | |
7 | * Since we don't have to do any backwards compatibility, our | |
8 | * versions are done in the most "normal" way possible. | |
9 | * | |
10 | */ | |
11 | ||
12 | #include <linux/errno.h> | |
13 | #include <linux/sched.h> | |
14 | #include <linux/syscalls.h> | |
15 | #include <linux/mm.h> | |
5978e791 | 16 | #include <linux/fs.h> |
1da177e4 | 17 | #include <linux/smp.h> |
1da177e4 LT |
18 | #include <linux/sem.h> |
19 | #include <linux/msg.h> | |
20 | #include <linux/shm.h> | |
21 | #include <linux/stat.h> | |
22 | #include <linux/mman.h> | |
23 | #include <linux/file.h> | |
cba4fbbf | 24 | #include <linux/ipc.h> |
1da177e4 LT |
25 | |
26 | #include <asm/uaccess.h> | |
1da177e4 LT |
27 | #include <asm/segment.h> |
28 | ||
1da177e4 LT |
29 | asmlinkage long |
30 | sys_mmap2(unsigned long addr, unsigned long len, unsigned long prot, | |
31 | unsigned long flags, unsigned long fd, unsigned long pgoff) | |
32 | { | |
f8b72560 AV |
33 | /* bug(?): 8Kb pages here */ |
34 | return sys_mmap_pgoff(addr, len, prot, flags, fd, pgoff); | |
1da177e4 | 35 | } |