summaryrefslogtreecommitdiff
path: root/include/linux/sysrq.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/sysrq.h')
-rw-r--r--include/linux/sysrq.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/linux/sysrq.h b/include/linux/sysrq.h
index 7faf933cced7..d224c0bae8df 100644
--- a/include/linux/sysrq.h
+++ b/include/linux/sysrq.h
@@ -38,6 +38,11 @@ struct sysrq_key_op {
int enable_mask;
};
+#ifdef CONFIG_MAGIC_SYSRQ_FORCE_PRINTK
+extern int sysrq_in_progress;
+#else
+#define sysrq_in_progress 0
+#endif
#ifdef CONFIG_MAGIC_SYSRQ
/* Generic SysRq interface -- you may call it from any device driver, supplying