fs: don't compile in drop_caches.c when CONFIG_SYSCTL=n
authorJosh Triplett <josh@joshtriplett.org>
Mon, 29 Apr 2013 22:07:22 +0000 (15:07 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Mon, 29 Apr 2013 22:54:33 +0000 (15:54 -0700)
commit146732ce104ddfed3d4d82722c0b336074016b92
tree07185bc6ff143cc669cc9e0a197a3adf0c13004a
parent6d2488f64a240191f0733c1f32d73607916b01b7
fs: don't compile in drop_caches.c when CONFIG_SYSCTL=n

drop_caches.c provides code only invokable via sysctl, so don't compile it
in when CONFIG_SYSCTL=n.

Signed-off-by: Josh Triplett <josh@joshtriplett.org>
Acked-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/Makefile
include/linux/mm.h
kernel/sysctl.c