kernel/compat.c: make do_sysinfo() static
authorStephen Rothwell <sfr@canb.auug.org.au>
Tue, 30 Apr 2013 22:27:34 +0000 (15:27 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 1 May 2013 00:04:03 +0000 (17:04 -0700)
commit1a0df59444972105f0d4c2b0c16ce414d70c420a
tree39403c6890f792b0a4af7218884d375ec7b975ed
parent8d82e180b51f8ecca9ae9d6a3e7f01d50ea34c20
kernel/compat.c: make do_sysinfo() static

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 <sfr@canb.auug.org.au>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Guenter Roeck <linux@roeck-us.net>
Cc: Al Viro <viro@zeniv.linux.org.uk>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/linux/kernel.h
kernel/compat.c
kernel/timer.c