diff options
author | Len Brown <len.brown@intel.com> | 2006-06-29 19:57:46 -0400 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2006-06-29 19:57:46 -0400 |
commit | d120cfb544ed6161b9d32fb6c4648c471807ee6b (patch) | |
tree | 7757ad0198d8df76ff5c60f939a687687c41da00 /kernel/sysctl.c | |
parent | 9dce0e950dbfab4148f35ac6f297d8638cdc63c4 (diff) | |
parent | bf7e8511088963078484132636839b59e25cf14f (diff) |
merge linus into release branch
Conflicts:
drivers/acpi/acpi_memhotplug.c
Diffstat (limited to 'kernel/sysctl.c')
-rw-r--r-- | kernel/sysctl.c | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/kernel/sysctl.c b/kernel/sysctl.c index f1a4eb1a655e..93a2c5398648 100644 --- a/kernel/sysctl.c +++ b/kernel/sysctl.c | |||
@@ -133,6 +133,10 @@ extern int acct_parm[]; | |||
133 | extern int no_unaligned_warning; | 133 | extern int no_unaligned_warning; |
134 | #endif | 134 | #endif |
135 | 135 | ||
136 | #ifdef CONFIG_RT_MUTEXES | ||
137 | extern int max_lock_depth; | ||
138 | #endif | ||
139 | |||
136 | static int parse_table(int __user *, int, void __user *, size_t __user *, void __user *, size_t, | 140 | static int parse_table(int __user *, int, void __user *, size_t __user *, void __user *, size_t, |
137 | ctl_table *, void **); | 141 | ctl_table *, void **); |
138 | static int proc_doutsstring(ctl_table *table, int write, struct file *filp, | 142 | static int proc_doutsstring(ctl_table *table, int write, struct file *filp, |
@@ -688,6 +692,17 @@ static ctl_table kern_table[] = { | |||
688 | .proc_handler = &proc_dointvec, | 692 | .proc_handler = &proc_dointvec, |
689 | }, | 693 | }, |
690 | #endif | 694 | #endif |
695 | #ifdef CONFIG_RT_MUTEXES | ||
696 | { | ||
697 | .ctl_name = KERN_MAX_LOCK_DEPTH, | ||
698 | .procname = "max_lock_depth", | ||
699 | .data = &max_lock_depth, | ||
700 | .maxlen = sizeof(int), | ||
701 | .mode = 0644, | ||
702 | .proc_handler = &proc_dointvec, | ||
703 | }, | ||
704 | #endif | ||
705 | |||
691 | { .ctl_name = 0 } | 706 | { .ctl_name = 0 } |
692 | }; | 707 | }; |
693 | 708 | ||
@@ -928,6 +943,18 @@ static ctl_table vm_table[] = { | |||
928 | .strategy = &sysctl_jiffies, | 943 | .strategy = &sysctl_jiffies, |
929 | }, | 944 | }, |
930 | #endif | 945 | #endif |
946 | #ifdef CONFIG_X86_32 | ||
947 | { | ||
948 | .ctl_name = VM_VDSO_ENABLED, | ||
949 | .procname = "vdso_enabled", | ||
950 | .data = &vdso_enabled, | ||
951 | .maxlen = sizeof(vdso_enabled), | ||
952 | .mode = 0644, | ||
953 | .proc_handler = &proc_dointvec, | ||
954 | .strategy = &sysctl_intvec, | ||
955 | .extra1 = &zero, | ||
956 | }, | ||
957 | #endif | ||
931 | { .ctl_name = 0 } | 958 | { .ctl_name = 0 } |
932 | }; | 959 | }; |
933 | 960 | ||