]> 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>
Wed, 20 Mar 2013 04:07:23 +0000 (15:07 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 20 Mar 2013 04:22:49 +0000 (15:22 +1100)
commite211cd196c3b2a20a1537a12e7b2b0bfb0d99d3c
tree93c8cfaf4b5c5cf4ab1dadc2b9641fb8a36e09b6
parentf3a241fa4efb073c17693272e29c559ed7f8ad70
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