ipc/ipc_sysctl.c: move the definition of ipc_auto_callback()
authorakpm@linux-foundation.org <akpm@linux-foundation.org>
Tue, 6 Jan 2009 22:42:51 +0000 (14:42 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 6 Jan 2009 23:59:29 +0000 (15:59 -0800)
commit4c2c3b4aaf3c10a636490438e9648a314ce414f9
tree2e9b852fb178d8cb2982829d5a01711575d6d3a5
parente953ac2195659940d0d042f7ac962700a6a0f0e3
ipc/ipc_sysctl.c: move the definition of ipc_auto_callback()

proc_ipcauto_dointvec_minmax() is the only user of ipc_auto_callback(),
since the former function is protected by CONFIG_PROC_FS, so should be the
latter one.

Just move its definition down.

Signed-off-by: WANG Cong <wangcong@zeuux.org>
Cc: Eric Biederman <ebiederm@xmision.com>
Cc: Nadia Derbey <Nadia.Derbey@bull.net>
Cc: Alexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
ipc/ipc_sysctl.c