memcg: replace ss->id_lock with a rwlock
[deliverable/linux.git] / kernel / watchdog.c
index d680381b0e9ccfc6fc0f008ae92e4141aa93ca56..1d7bca7f4f527c2f25b741da9fc914980a0c43bb 100644 (file)
@@ -481,6 +481,8 @@ static void watchdog_disable(int cpu)
        }
 }
 
+/* sysctl functions */
+#ifdef CONFIG_SYSCTL
 static void watchdog_enable_all_cpus(void)
 {
        int cpu;
@@ -510,8 +512,6 @@ static void watchdog_disable_all_cpus(void)
 }
 
 
-/* sysctl functions */
-#ifdef CONFIG_SYSCTL
 /*
  * proc handler for /proc/sys/kernel/nmi_watchdog,watchdog_thresh
  */
This page took 0.026564 seconds and 5 git commands to generate.