diff options
Diffstat (limited to 'kernel/watchdog.c')
-rw-r--r-- | kernel/watchdog.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/watchdog.c b/kernel/watchdog.c index d680381b0e9c..1d7bca7f4f52 100644 --- a/kernel/watchdog.c +++ b/kernel/watchdog.c | |||
@@ -481,6 +481,8 @@ static void watchdog_disable(int cpu) | |||
481 | } | 481 | } |
482 | } | 482 | } |
483 | 483 | ||
484 | /* sysctl functions */ | ||
485 | #ifdef CONFIG_SYSCTL | ||
484 | static void watchdog_enable_all_cpus(void) | 486 | static void watchdog_enable_all_cpus(void) |
485 | { | 487 | { |
486 | int cpu; | 488 | int cpu; |
@@ -510,8 +512,6 @@ static void watchdog_disable_all_cpus(void) | |||
510 | } | 512 | } |
511 | 513 | ||
512 | 514 | ||
513 | /* sysctl functions */ | ||
514 | #ifdef CONFIG_SYSCTL | ||
515 | /* | 515 | /* |
516 | * proc handler for /proc/sys/kernel/nmi_watchdog,watchdog_thresh | 516 | * proc handler for /proc/sys/kernel/nmi_watchdog,watchdog_thresh |
517 | */ | 517 | */ |