]> 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>
Thu, 21 Mar 2013 05:33:51 +0000 (16:33 +1100)
commit0eed9e9881949b079ed43bd28905b6b6f79c1156
tree5b081d434eb869d1e240ef82e527e52f44695569
parent2cd3c9ea43ba5fd0bf94ee58cdd75b0e337df046
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