From: Eric W. Biederman Date: Sat, 20 Oct 2007 00:23:25 +0000 (-0600) Subject: sysctl: Don't compile sysctl_check when !CONFIG_SYSCTL X-Git-Tag: v2.6.24-rc1~131 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c1cb8e48bddd9e16ef488ea5d50885908c5a4081;p=linux-2.6 sysctl: Don't compile sysctl_check when !CONFIG_SYSCTL Weird I thought I had written the makefile so this would be handled. Oh well this should fix it. Sorry about that. Signed-off-by: Eric W. Biederman Acked-and-tested-by: Randy Dunlap Signed-off-by: Linus Torvalds --- diff --git a/kernel/Makefile b/kernel/Makefile index 05c3e6df85..79f017e09f 100644 --- a/kernel/Makefile +++ b/kernel/Makefile @@ -9,8 +9,9 @@ obj-y = sched.o fork.o exec_domain.o panic.o printk.o profile.o \ rcupdate.o extable.o params.o posix-timers.o \ kthread.o wait.o kfifo.o sys_ni.o posix-cpu-timers.o mutex.o \ hrtimer.o rwsem.o latency.o nsproxy.o srcu.o \ - utsname.o sysctl_check.o notifier.o + utsname.o notifier.o +obj-$(CONFIG_SYSCTL) += sysctl_check.o obj-$(CONFIG_STACKTRACE) += stacktrace.o obj-y += time/ obj-$(CONFIG_DEBUG_MUTEXES) += mutex-debug.o