From 392e8802486cb573b916e746010e141a75f507e6 Mon Sep 17 00:00:00 2001 From: Kevin Date: Sat, 15 Nov 2014 09:58:27 +0800 Subject: init android origin source code --- ANDROID_3.4.5/arch/cris/kernel/sys_cris.c | 35 +++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 ANDROID_3.4.5/arch/cris/kernel/sys_cris.c (limited to 'ANDROID_3.4.5/arch/cris/kernel/sys_cris.c') diff --git a/ANDROID_3.4.5/arch/cris/kernel/sys_cris.c b/ANDROID_3.4.5/arch/cris/kernel/sys_cris.c new file mode 100644 index 00000000..7aa036ec --- /dev/null +++ b/ANDROID_3.4.5/arch/cris/kernel/sys_cris.c @@ -0,0 +1,35 @@ +/* $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 +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#include +#include + +asmlinkage long +sys_mmap2(unsigned long addr, unsigned long len, unsigned long prot, + unsigned long flags, unsigned long fd, unsigned long pgoff) +{ + /* bug(?): 8Kb pages here */ + return sys_mmap_pgoff(addr, len, prot, flags, fd, pgoff); +} -- cgit