aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/sysctl.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/sysctl.c')
-rw-r--r--kernel/sysctl.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/kernel/sysctl.c b/kernel/sysctl.c
index d1b4ee67d2df..afc1dc60f3f8 100644
--- a/kernel/sysctl.c
+++ b/kernel/sysctl.c
@@ -157,6 +157,9 @@ extern int sysctl_tsb_ratio;
157 157
158#ifdef __hppa__ 158#ifdef __hppa__
159extern int pwrsw_enabled; 159extern int pwrsw_enabled;
160#endif
161
162#ifdef CONFIG_SYSCTL_ARCH_UNALIGN_ALLOW
160extern int unaligned_enabled; 163extern int unaligned_enabled;
161#endif 164#endif
162 165
@@ -555,6 +558,8 @@ static struct ctl_table kern_table[] = {
555 .mode = 0644, 558 .mode = 0644,
556 .proc_handler = proc_dointvec, 559 .proc_handler = proc_dointvec,
557 }, 560 },
561#endif
562#ifdef CONFIG_SYSCTL_ARCH_UNALIGN_ALLOW
558 { 563 {
559 .procname = "unaligned-trap", 564 .procname = "unaligned-trap",
560 .data = &unaligned_enabled, 565 .data = &unaligned_enabled,