summaryrefslogtreecommitdiffstats
path: root/kernel/sysctl.c
diff options
context:
space:
mode:
authorJosh Triplett2013-04-30 00:07:22 +0200
committerLinus Torvalds2013-04-30 00:54:33 +0200
commit146732ce104ddfed3d4d82722c0b336074016b92 (patch)
tree07185bc6ff143cc669cc9e0a197a3adf0c13004a /kernel/sysctl.c
parentcgroup: remove css_get_next (diff)
downloadkernel-qcow2-linux-146732ce104ddfed3d4d82722c0b336074016b92.tar.gz
kernel-qcow2-linux-146732ce104ddfed3d4d82722c0b336074016b92.tar.xz
kernel-qcow2-linux-146732ce104ddfed3d4d82722c0b336074016b92.zip
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>
Diffstat (limited to 'kernel/sysctl.c')
-rw-r--r--kernel/sysctl.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/kernel/sysctl.c b/kernel/sysctl.c
index afc1dc60f3f8..3dadde52253c 100644
--- a/kernel/sysctl.c
+++ b/kernel/sysctl.c
@@ -106,7 +106,6 @@ extern unsigned int core_pipe_limit;
#endif
extern int pid_max;
extern int pid_max_min, pid_max_max;
-extern int sysctl_drop_caches;
extern int percpu_pagelist_fraction;
extern int compat_log;
extern int latencytop_enabled;