diff options
author | Vasily Averin | 2011-11-01 01:11:18 +0100 |
---|---|---|
committer | Linus Torvalds | 2011-11-01 01:30:53 +0100 |
commit | 4ff819515b203f937cc6c8a0215a37a68d1ee71f (patch) | |
tree | c36dfe5aea5dc973d2f50b38584b6e39babc354c /kernel/sysctl.c | |
parent | stop_machine: make stop_machine safe and efficient to call early (diff) | |
download | kernel-qcow2-linux-4ff819515b203f937cc6c8a0215a37a68d1ee71f.tar.gz kernel-qcow2-linux-4ff819515b203f937cc6c8a0215a37a68d1ee71f.tar.xz kernel-qcow2-linux-4ff819515b203f937cc6c8a0215a37a68d1ee71f.zip |
watchdog: move watchdog_*_all_cpus under CONFIG_SYSCTL
Fix compilation warnings for CONFIG_SYSCTL=n:
fixed compilation warnings in case of disabled CONFIG_SYSCTL
kernel/watchdog.c:483:13: warning: `watchdog_enable_all_cpus' defined but not used
kernel/watchdog.c:500:13: warning: `watchdog_disable_all_cpus' defined but not used
these functions are static and are used only in sysctl handler, so move
them inside #ifdef CONFIG_SYSCTL too
Signed-off-by: Vasily Averin <vvs@sw.ru>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'kernel/sysctl.c')
0 files changed, 0 insertions, 0 deletions