]> git.karo-electronics.de Git - karo-tx-linux.git/commit
fs: don't compile in drop_caches.c when CONFIG_SYSCTL=n
authorJosh Triplett <josh@joshtriplett.org>
Tue, 26 Mar 2013 23:24:36 +0000 (10:24 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Tue, 2 Apr 2013 07:29:07 +0000 (18:29 +1100)
commita1c4729cc057adbb76579ae5ea32ec9a66b8e221
tree24801f595b1a1b1800f1a70237157e358095b5fa
parent8e295942261338e4dbd4c3dd2fd486b83c8eaf0f
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>
fs/Makefile
include/linux/mm.h
kernel/sysctl.c