aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/sysctl.c
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2008-07-15 17:12:58 -0400
committerIngo Molnar <mingo@elte.hu>2008-07-15 17:12:58 -0400
commit1e09481365ce248dbb4eb06dad70129bb5807037 (patch)
treec0cff5bef95c8b5e7486f144718ade9a06c284dc /kernel/sysctl.c
parent3e2f69fdd1b00166e7d589bce56b2d36a9e74374 (diff)
parentb9d2252c1e44fa83a4e65fdc9eb93db6297c55af (diff)
Merge branch 'linus' into core/softlockup
Conflicts: kernel/softlockup.c Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'kernel/sysctl.c')
-rw-r--r--kernel/sysctl.c31
1 files changed, 19 insertions, 12 deletions
diff --git a/kernel/sysctl.c b/kernel/sysctl.c
index a829dc8d7a9e..3e56d2f91414 100644
--- a/kernel/sysctl.c
+++ b/kernel/sysctl.c
@@ -46,6 +46,7 @@
46#include <linux/nfs_fs.h> 46#include <linux/nfs_fs.h>
47#include <linux/acpi.h> 47#include <linux/acpi.h>
48#include <linux/reboot.h> 48#include <linux/reboot.h>
49#include <linux/ftrace.h>
49 50
50#include <asm/uaccess.h> 51#include <asm/uaccess.h>
51#include <asm/processor.h> 52#include <asm/processor.h>
@@ -133,8 +134,6 @@ extern int sysctl_userprocess_debug;
133extern int spin_retry; 134extern int spin_retry;
134#endif 135#endif
135 136
136extern int sysctl_hz_timer;
137
138#ifdef CONFIG_BSD_PROCESS_ACCT 137#ifdef CONFIG_BSD_PROCESS_ACCT
139extern int acct_parm[]; 138extern int acct_parm[];
140#endif 139#endif
@@ -267,6 +266,14 @@ static struct ctl_table kern_table[] = {
267 }, 266 },
268 { 267 {
269 .ctl_name = CTL_UNNUMBERED, 268 .ctl_name = CTL_UNNUMBERED,
269 .procname = "sched_shares_ratelimit",
270 .data = &sysctl_sched_shares_ratelimit,
271 .maxlen = sizeof(unsigned int),
272 .mode = 0644,
273 .proc_handler = &proc_dointvec,
274 },
275 {
276 .ctl_name = CTL_UNNUMBERED,
270 .procname = "sched_child_runs_first", 277 .procname = "sched_child_runs_first",
271 .data = &sysctl_sched_child_runs_first, 278 .data = &sysctl_sched_child_runs_first,
272 .maxlen = sizeof(unsigned int), 279 .maxlen = sizeof(unsigned int),
@@ -456,6 +463,16 @@ static struct ctl_table kern_table[] = {
456 .mode = 0644, 463 .mode = 0644,
457 .proc_handler = &proc_dointvec, 464 .proc_handler = &proc_dointvec,
458 }, 465 },
466#ifdef CONFIG_FTRACE
467 {
468 .ctl_name = CTL_UNNUMBERED,
469 .procname = "ftrace_enabled",
470 .data = &ftrace_enabled,
471 .maxlen = sizeof(int),
472 .mode = 0644,
473 .proc_handler = &ftrace_enable_sysctl,
474 },
475#endif
459#ifdef CONFIG_KMOD 476#ifdef CONFIG_KMOD
460 { 477 {
461 .ctl_name = KERN_MODPROBE, 478 .ctl_name = KERN_MODPROBE,
@@ -564,16 +581,6 @@ static struct ctl_table kern_table[] = {
564 .proc_handler = &proc_dointvec, 581 .proc_handler = &proc_dointvec,
565 }, 582 },
566#endif 583#endif
567#ifdef CONFIG_NO_IDLE_HZ
568 {
569 .ctl_name = KERN_HZ_TIMER,
570 .procname = "hz_timer",
571 .data = &sysctl_hz_timer,
572 .maxlen = sizeof(int),
573 .mode = 0644,
574 .proc_handler = &proc_dointvec,
575 },
576#endif
577 { 584 {
578 .ctl_name = KERN_S390_USER_DEBUG_LOGGING, 585 .ctl_name = KERN_S390_USER_DEBUG_LOGGING,
579 .procname = "userprocess_debug", 586 .procname = "userprocess_debug",