aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/linux/sys_info.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/sys_info.h')
-rw-r--r--include/linux/sys_info.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/linux/sys_info.h b/include/linux/sys_info.h
index 53b7e27dbf2a..89d77dc4f2ed 100644
--- a/include/linux/sys_info.h
+++ b/include/linux/sys_info.h
@@ -2,6 +2,8 @@
#ifndef _LINUX_SYS_INFO_H
#define _LINUX_SYS_INFO_H
+#include <linux/sysctl.h>
+
/*
* SYS_INFO_PANIC_CONSOLE_REPLAY is for panic case only, as it needs special
* handling which only fits panic case.
@@ -16,5 +18,11 @@
#define SYS_INFO_BLOCKED_TASKS 0x00000080
void sys_info(unsigned long si_mask);
+unsigned long sys_info_parse_param(char *str);
+#ifdef CONFIG_SYSCTL
+int sysctl_sys_info_handler(const struct ctl_table *ro_table, int write,
+ void *buffer, size_t *lenp,
+ loff_t *ppos);
+#endif
#endif /* _LINUX_SYS_INFO_H */