Re: [PATCH] Make do_sysinfo() static

2013-04-07 Thread Stephen Rothwell
Hi Al, On Mon, 8 Apr 2013 03:00:11 +0100 Al Viro wrote: > > On Mon, Apr 08, 2013 at 11:53:25AM +1000, Stephen Rothwell wrote: > > The only use outside of kernel/timer.c was in kernel/compat.c, so move > > compat_sys_sysinfo() next to sys_sysinfo() in kernel/timer.c. > > Please, switch it to

Re: [PATCH] Make do_sysinfo() static

2013-04-07 Thread Al Viro
On Mon, Apr 08, 2013 at 11:53:25AM +1000, Stephen Rothwell wrote: > The only use outside of kernel/timer.c was in kernel/compat.c, so move > compat_sys_sysinfo() next to sys_sysinfo() in kernel/timer.c. Please, switch it to COMPAT_SYSCALL_DEFINE, while you are at it. -- To unsubscribe from this

[PATCH] Make do_sysinfo() static

2013-04-07 Thread Stephen Rothwell
The only use outside of kernel/timer.c was in kernel/compat.c, so move compat_sys_sysinfo() next to sys_sysinfo() in kernel/timer.c. Signed-off-by: Stephen Rothwell --- include/linux/kernel.h | 2 -- kernel/compat.c| 65 --- kernel/timer.c

[PATCH] Make do_sysinfo() static

2013-04-07 Thread Stephen Rothwell
The only use outside of kernel/timer.c was in kernel/compat.c, so move compat_sys_sysinfo() next to sys_sysinfo() in kernel/timer.c. Signed-off-by: Stephen Rothwell s...@canb.auug.org.au --- include/linux/kernel.h | 2 -- kernel/compat.c| 65

Re: [PATCH] Make do_sysinfo() static

2013-04-07 Thread Al Viro
On Mon, Apr 08, 2013 at 11:53:25AM +1000, Stephen Rothwell wrote: The only use outside of kernel/timer.c was in kernel/compat.c, so move compat_sys_sysinfo() next to sys_sysinfo() in kernel/timer.c. Please, switch it to COMPAT_SYSCALL_DEFINE, while you are at it. -- To unsubscribe from this

Re: [PATCH] Make do_sysinfo() static

2013-04-07 Thread Stephen Rothwell
Hi Al, On Mon, 8 Apr 2013 03:00:11 +0100 Al Viro v...@zeniv.linux.org.uk wrote: On Mon, Apr 08, 2013 at 11:53:25AM +1000, Stephen Rothwell wrote: The only use outside of kernel/timer.c was in kernel/compat.c, so move compat_sys_sysinfo() next to sys_sysinfo() in kernel/timer.c. Please,