summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/linux/nmi.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/include/linux/nmi.h b/include/linux/nmi.h
index a461766a8685..73fc09b5c1ec 100644
--- a/include/linux/nmi.h
+++ b/include/linux/nmi.h
@@ -1,6 +1,8 @@
/*
* linux/include/linux/nmi.h
+ * Copyright (c) 2015, NVIDIA CORPORATION. All rights reserved.
*/
+
#ifndef LINUX_NMI_H
#define LINUX_NMI_H
@@ -57,4 +59,12 @@ extern int proc_dowatchdog(struct ctl_table *, int ,
extern int watchdog_get_lockup_state(void);
#endif
+static inline void set_wdt_nmi_ack_off(void)
+{
+#if defined(CONFIG_TEGRA_WDT_FIQ_SOFT_HANG_STACK_DUMP)
+ extern bool wdt_nmi_ack_off;
+ wdt_nmi_ack_off = true;
+#endif
+}
+
#endif