diff options
author | Stephen Rothwell | 2013-05-01 00:27:37 +0200 |
---|---|---|
committer | Linus Torvalds | 2013-05-01 02:04:03 +0200 |
commit | 4a22f16636259f503847b0805e04824171b270fc (patch) | |
tree | 764c9b6239416c1b032dd10398b372d84eba8cb8 /fs/eventpoll.c | |
parent | kernel/timer.c: convert compat_sys_sysinfo to COMPAT_SYSCALL_DEFINE (diff) | |
download | kernel-qcow2-linux-4a22f16636259f503847b0805e04824171b270fc.tar.gz kernel-qcow2-linux-4a22f16636259f503847b0805e04824171b270fc.tar.xz kernel-qcow2-linux-4a22f16636259f503847b0805e04824171b270fc.zip |
kernel/timer.c: move some non timer related syscalls to kernel/sys.c
Andrew Morton noted:
akpm3:/usr/src/25> grep SYSCALL kernel/timer.c
SYSCALL_DEFINE1(alarm, unsigned int, seconds)
SYSCALL_DEFINE0(getpid)
SYSCALL_DEFINE0(getppid)
SYSCALL_DEFINE0(getuid)
SYSCALL_DEFINE0(geteuid)
SYSCALL_DEFINE0(getgid)
SYSCALL_DEFINE0(getegid)
SYSCALL_DEFINE0(gettid)
SYSCALL_DEFINE1(sysinfo, struct sysinfo __user *, info)
COMPAT_SYSCALL_DEFINE1(sysinfo, struct compat_sysinfo __user *, info)
Only one of those should be in kernel/timer.c. Who wrote this thing?
[akpm@linux-foundation.org: coding-style fixes]
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Acked-by: Thomas Gleixner <tglx@linutronix.de>
Cc: Guenter Roeck <linux@roeck-us.net>
Cc: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/eventpoll.c')
0 files changed, 0 insertions, 0 deletions