summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorAndrew Morton <akpm@linux-foundation.org>2014-10-03 09:31:27 +1000
committerStephen Rothwell <sfr@canb.auug.org.au>2014-10-09 17:23:40 +1100
commit0dac04a4cd45f2c15d918757fa8d44eea1f12255 (patch)
treee72b84238d1f3010388ce2d82b1183adccb9690c /include/linux
parent0de4da0772246d9445d54b31d39606bb20536889 (diff)
watchdog-control-hard-lockup-detection-default-fix
fix build In file included from arch/x86/mm/init_64.c:33: include/linux/nmi.h: In function 'watchdog_enable_hardlockup_detector': include/linux/nmi.h:27: error: parameter name omitted Cc: Andrew Jones <drjones@redhat.com> Cc: Don Zickus <dzickus@redhat.com> Cc: Ulrich Obergfell <uobergfe@redhat.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/nmi.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/nmi.h b/include/linux/nmi.h
index 7696a163d820..22c9958ad264 100644
--- a/include/linux/nmi.h
+++ b/include/linux/nmi.h
@@ -24,7 +24,7 @@ static inline void touch_nmi_watchdog(void)
{
touch_softlockup_watchdog();
}
-static inline void watchdog_enable_hardlockup_detector(bool)
+static inline void watchdog_enable_hardlockup_detector(bool val)
{
}
static inline bool watchdog_hardlockup_detector_is_enabled(void)