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