diff options
-rw-r--r-- | include/linux/signal.h | 2 | ||||
-rw-r--r-- | kernel/sysctl.c | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/include/linux/signal.h b/include/linux/signal.h index ab9272cc270c..fcd2b14b1932 100644 --- a/include/linux/signal.h +++ b/include/linux/signal.h | |||
@@ -7,6 +7,8 @@ | |||
7 | #ifdef __KERNEL__ | 7 | #ifdef __KERNEL__ |
8 | #include <linux/list.h> | 8 | #include <linux/list.h> |
9 | 9 | ||
10 | /* for sysctl */ | ||
11 | extern int print_fatal_signals; | ||
10 | /* | 12 | /* |
11 | * Real Time signals may be queued. | 13 | * Real Time signals may be queued. |
12 | */ | 14 | */ |
diff --git a/kernel/sysctl.c b/kernel/sysctl.c index 72c3b1e80d7b..a8fd10a9a501 100644 --- a/kernel/sysctl.c +++ b/kernel/sysctl.c | |||
@@ -23,6 +23,7 @@ | |||
23 | #include <linux/swap.h> | 23 | #include <linux/swap.h> |
24 | #include <linux/slab.h> | 24 | #include <linux/slab.h> |
25 | #include <linux/sysctl.h> | 25 | #include <linux/sysctl.h> |
26 | #include <linux/signal.h> | ||
26 | #include <linux/proc_fs.h> | 27 | #include <linux/proc_fs.h> |
27 | #include <linux/security.h> | 28 | #include <linux/security.h> |
28 | #include <linux/ctype.h> | 29 | #include <linux/ctype.h> |
@@ -65,7 +66,6 @@ | |||
65 | #if defined(CONFIG_SYSCTL) | 66 | #if defined(CONFIG_SYSCTL) |
66 | 67 | ||
67 | /* External variables not in a header file. */ | 68 | /* External variables not in a header file. */ |
68 | extern int print_fatal_signals; | ||
69 | extern int sysctl_overcommit_memory; | 69 | extern int sysctl_overcommit_memory; |
70 | extern int sysctl_overcommit_ratio; | 70 | extern int sysctl_overcommit_ratio; |
71 | extern int sysctl_panic_on_oom; | 71 | extern int sysctl_panic_on_oom; |