Re: [PATCH] Clean up kernel/timer.c

From: Thomas Gleixner
Date: Tue Apr 09 2013 - 05:06:38 EST


On Tue, 9 Apr 2013, Stephen Rothwell wrote:

> 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?

Hehe :)

> Move some non timer related syscalls to kernel/sys.c
>
> Signed-off-by: Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx>

Acked-by: Thomas Gleixner <tglx@xxxxxxxxxxxxx>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/