aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/linux/reboot.h1
-rw-r--r--kernel/sysctl.c1
2 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/reboot.h b/include/linux/reboot.h
index 988e55fe649b..3005d5a7fce5 100644
--- a/include/linux/reboot.h
+++ b/include/linux/reboot.h
@@ -64,6 +64,7 @@ extern void kernel_restart(char *cmd);
64extern void kernel_halt(void); 64extern void kernel_halt(void);
65extern void kernel_power_off(void); 65extern void kernel_power_off(void);
66 66
67extern int C_A_D; /* for sysctl */
67void ctrl_alt_del(void); 68void ctrl_alt_del(void);
68 69
69#define POWEROFF_CMD_PATH_LEN 256 70#define POWEROFF_CMD_PATH_LEN 256
diff --git a/kernel/sysctl.c b/kernel/sysctl.c
index 0ef19c614f6d..72c3b1e80d7b 100644
--- a/kernel/sysctl.c
+++ b/kernel/sysctl.c
@@ -65,7 +65,6 @@
65#if defined(CONFIG_SYSCTL) 65#if defined(CONFIG_SYSCTL)
66 66
67/* External variables not in a header file. */ 67/* External variables not in a header file. */
68extern int C_A_D;
69extern int print_fatal_signals; 68extern int print_fatal_signals;
70extern int sysctl_overcommit_memory; 69extern int sysctl_overcommit_memory;
71extern int sysctl_overcommit_ratio; 70extern int sysctl_overcommit_ratio;