Declaring arch-dependent syscalls for m32r architecture Signed-off-by: Jaswinder Singh <jaswinder@infradead.org> --- arch/m32r/kernel/process.c | 1 + arch/m32r/kernel/signal.c | 1 + include/asm-m32r/syscalls.h | 49 +++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 51 insertions(+), 0 deletions(-) diff --git a/arch/m32r/kernel/process.c b/arch/m32r/kernel/process.c index a689e29..9f5335c 100644 --- a/arch/m32r/kernel/process.c +++ b/arch/m32r/kernel/process.c @@ -26,6 +26,7 @@ #include <linux/unistd.h> #include <linux/slab.h> #include <linux/hardirq.h> +#include <linux/syscalls.h> #include <asm/io.h> #include <asm/uaccess.h> diff --git a/arch/m32r/kernel/signal.c b/arch/m32r/kernel/signal.c index 1812454..4478893 100644 --- a/arch/m32r/kernel/signal.c +++ b/arch/m32r/kernel/signal.c @@ -21,6 +21,7 @@ #include <linux/stddef.h> #include <linux/personality.h> #include <linux/freezer.h> +#include <linux/syscalls.h> #include <asm/cacheflush.h> #include <asm/ucontext.h> #include <asm/uaccess.h> diff --git a/include/asm-m32r/syscalls.h b/include/asm-m32r/syscalls.h index e69de29..78ccedb 100644 --- a/include/asm-m32r/syscalls.h +++ b/include/asm-m32r/syscalls.h @@ -0,0 +1,49 @@ +/* + * syscalls.h - Linux syscall interfaces (arch-specific) + * + * Copyright (c) 2008 Jaswinder Singh + * + * This file is released under the GPLv2. + * See the file COPYING for more details. + * + * Please do not call me directly, include linux/syscalls.h + */ + +#ifndef _ASM_M32R_SYSCALLS_H +#define _ASM_M32R_SYSCALLS_H + +/* kernel/process.c */ +asmlinkage int sys_fork(unsigned long, unsigned long, unsigned long, + unsigned long, unsigned long, unsigned long, + unsigned long, struct pt_regs); +asmlinkage int sys_clone(unsigned long, unsigned long, unsigned long, + unsigned long, unsigned long, unsigned long, + unsigned long, struct pt_regs); +asmlinkage int sys_vfork(unsigned long, unsigned long, unsigned long, + unsigned long, unsigned long, unsigned long, + unsigned long, struct pt_regs); +asmlinkage int sys_execve(char __user *, char __user * __user *, + char __user * __user *, unsigned long, + unsigned long, unsigned long, unsigned long, + struct pt_regs); + +/* kernel/signal.c */ +asmlinkage int sys_rt_sigsuspend(sigset_t __user *, size_t, unsigned long, + unsigned long, unsigned long, unsigned long, + unsigned long, struct pt_regs *); +asmlinkage int sys_sigaltstack(const stack_t __user *, stack_t __user *, + unsigned long, unsigned long, unsigned long, + unsigned long, unsigned long, struct pt_regs *); +asmlinkage int sys_rt_sigreturn(unsigned long, unsigned long, unsigned long, + unsigned long, unsigned long, unsigned long, + unsigned long, struct pt_regs *); + +/* kernel/sys_m32r.c */ +asmlinkage int sys_tas(int __user *); +asmlinkage long sys_mmap2(unsigned long, unsigned long, unsigned long, + unsigned long, unsigned long, unsigned long); +asmlinkage int sys_ipc(uint, int, int, int, void __user *, long); +asmlinkage int sys_uname(struct old_utsname __user *); +asmlinkage int sys_cachectl(char *, int, int); + +#endif /* _ASM_M32R_SYSCALLS_H */ -- 1.5.5.1 --
| Borislav Petkov | 2.6.23-rc1: no setup signature found... |
| Andrew Morton | Re: [PATCH] Memory management livelock |
| Greg KH | [GIT PATCH] driver core patches against 2.6.24 |
| Steven King | ti_usb_3410_5052 breakage in 2.6.24-rc1 |
git: | |
| Linus Torvalds | cleaner/better zlib sources? |
| Theodore Ts'o | [PATCH] Add --no-reuse-delta, --window, and --depth options to git-gc |
| Karl | Re: [PATCH] Add a birdview-on-the-source-code section to the user manual |
| Yossi Leybovich | corrupt object on git-gc |
| GVG GVG | ssh_exchange_identification: Connection closed by remote host |
| Richard Stallman | Re: Real men don't attack straw men |
| David Newman | setting dscp or tos bits |
| Stijn | Re: [i386/Thinkpad T41]USB mouse + Xorg obsd 4.1 |
| Quentin Garnier | [cube@cubidou.net: Re: Moving ethfoo in the main tree] |
| cube | Moving ethfoo in the main tree |
| Blair Sadewitz | PCI latency timer values |
| Oliver Gould | kqemu: driver(9)/filedesc(9) questions |
