diff options
Diffstat (limited to 'kernel/sysctl.c')
-rw-r--r-- | kernel/sysctl.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/kernel/sysctl.c b/kernel/sysctl.c index 8203d70928d5..3b05c2b088d2 100644 --- a/kernel/sysctl.c +++ b/kernel/sysctl.c | |||
@@ -920,6 +920,14 @@ static struct ctl_table kern_table[] = { | |||
920 | .mode = 0644, | 920 | .mode = 0644, |
921 | .proc_handler = &proc_dointvec, | 921 | .proc_handler = &proc_dointvec, |
922 | }, | 922 | }, |
923 | { | ||
924 | .ctl_name = CTL_UNNUMBERED, | ||
925 | .procname = "perf_counter_mlock_kb", | ||
926 | .data = &sysctl_perf_counter_mlock, | ||
927 | .maxlen = sizeof(sysctl_perf_counter_mlock), | ||
928 | .mode = 0644, | ||
929 | .proc_handler = &proc_dointvec, | ||
930 | }, | ||
923 | #endif | 931 | #endif |
924 | /* | 932 | /* |
925 | * NOTE: do not add new entries to this table unless you have read | 933 | * NOTE: do not add new entries to this table unless you have read |