diff options
| author | Ingo Molnar <mingo@elte.hu> | 2010-08-12 15:38:56 -0400 |
|---|---|---|
| committer | Ingo Molnar <mingo@elte.hu> | 2010-08-12 15:39:04 -0400 |
| commit | f46a6804135795f77d096ab0128f27531c7d051c (patch) | |
| tree | 7cd33f69e3661327739ae4c96e5a8389e7fc912e /kernel/sysctl.c | |
| parent | b3e84ffa21f916e3354a12a7f19169c9febe96d0 (diff) | |
| parent | ad41a1e0cab07c5125456e8d38e5b1ab148d04aa (diff) | |
Merge branch 'linus' into perf/urgent
Merge reason: Fix upstream breakage introduced by:
de5d9bf: Move list types from <linux/list.h> to <linux/types.h>.
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'kernel/sysctl.c')
| -rw-r--r-- | kernel/sysctl.c | 21 |
1 files changed, 6 insertions, 15 deletions
diff --git a/kernel/sysctl.c b/kernel/sysctl.c index 6f79c7f81c96..ca38e8e3e907 100644 --- a/kernel/sysctl.c +++ b/kernel/sysctl.c | |||
| @@ -44,16 +44,17 @@ | |||
| 44 | #include <linux/times.h> | 44 | #include <linux/times.h> |
| 45 | #include <linux/limits.h> | 45 | #include <linux/limits.h> |
| 46 | #include <linux/dcache.h> | 46 | #include <linux/dcache.h> |
| 47 | #include <linux/dnotify.h> | ||
| 47 | #include <linux/syscalls.h> | 48 | #include <linux/syscalls.h> |
| 48 | #include <linux/vmstat.h> | 49 | #include <linux/vmstat.h> |
| 49 | #include <linux/nfs_fs.h> | 50 | #include <linux/nfs_fs.h> |
| 50 | #include <linux/acpi.h> | 51 | #include <linux/acpi.h> |
| 51 | #include <linux/reboot.h> | 52 | #include <linux/reboot.h> |
| 52 | #include <linux/ftrace.h> | 53 | #include <linux/ftrace.h> |
| 53 | #include <linux/slow-work.h> | ||
| 54 | #include <linux/perf_event.h> | 54 | #include <linux/perf_event.h> |
| 55 | #include <linux/kprobes.h> | 55 | #include <linux/kprobes.h> |
| 56 | #include <linux/pipe_fs_i.h> | 56 | #include <linux/pipe_fs_i.h> |
| 57 | #include <linux/oom.h> | ||
| 57 | 58 | ||
| 58 | #include <asm/uaccess.h> | 59 | #include <asm/uaccess.h> |
| 59 | #include <asm/processor.h> | 60 | #include <asm/processor.h> |
| @@ -86,9 +87,6 @@ | |||
| 86 | /* External variables not in a header file. */ | 87 | /* External variables not in a header file. */ |
| 87 | extern int sysctl_overcommit_memory; | 88 | extern int sysctl_overcommit_memory; |
| 88 | extern int sysctl_overcommit_ratio; | 89 | extern int sysctl_overcommit_ratio; |
| 89 | extern int sysctl_panic_on_oom; | ||
| 90 | extern int sysctl_oom_kill_allocating_task; | ||
| 91 | extern int sysctl_oom_dump_tasks; | ||
| 92 | extern int max_threads; | 90 | extern int max_threads; |
| 93 | extern int core_uses_pid; | 91 | extern int core_uses_pid; |
| 94 | extern int suid_dumpable; | 92 | extern int suid_dumpable; |
| @@ -134,6 +132,9 @@ static int min_percpu_pagelist_fract = 8; | |||
| 134 | 132 | ||
| 135 | static int ngroups_max = NGROUPS_MAX; | 133 | static int ngroups_max = NGROUPS_MAX; |
| 136 | 134 | ||
| 135 | #ifdef CONFIG_INOTIFY_USER | ||
| 136 | #include <linux/inotify.h> | ||
| 137 | #endif | ||
| 137 | #ifdef CONFIG_SPARC | 138 | #ifdef CONFIG_SPARC |
| 138 | #include <asm/system.h> | 139 | #include <asm/system.h> |
| 139 | #endif | 140 | #endif |
| @@ -210,9 +211,6 @@ static struct ctl_table fs_table[]; | |||
| 210 | static struct ctl_table debug_table[]; | 211 | static struct ctl_table debug_table[]; |
| 211 | static struct ctl_table dev_table[]; | 212 | static struct ctl_table dev_table[]; |
| 212 | extern struct ctl_table random_table[]; | 213 | extern struct ctl_table random_table[]; |
| 213 | #ifdef CONFIG_INOTIFY_USER | ||
| 214 | extern struct ctl_table inotify_table[]; | ||
| 215 | #endif | ||
| 216 | #ifdef CONFIG_EPOLL | 214 | #ifdef CONFIG_EPOLL |
| 217 | extern struct ctl_table epoll_table[]; | 215 | extern struct ctl_table epoll_table[]; |
| 218 | #endif | 216 | #endif |
| @@ -566,7 +564,7 @@ static struct ctl_table kern_table[] = { | |||
| 566 | .extra2 = &one, | 564 | .extra2 = &one, |
| 567 | }, | 565 | }, |
| 568 | #endif | 566 | #endif |
| 569 | #if defined(CONFIG_HOTPLUG) && defined(CONFIG_NET) | 567 | #ifdef CONFIG_HOTPLUG |
| 570 | { | 568 | { |
| 571 | .procname = "hotplug", | 569 | .procname = "hotplug", |
| 572 | .data = &uevent_helper, | 570 | .data = &uevent_helper, |
| @@ -917,13 +915,6 @@ static struct ctl_table kern_table[] = { | |||
| 917 | .proc_handler = proc_dointvec, | 915 | .proc_handler = proc_dointvec, |
| 918 | }, | 916 | }, |
| 919 | #endif | 917 | #endif |
| 920 | #ifdef CONFIG_SLOW_WORK | ||
| 921 | { | ||
| 922 | .procname = "slow-work", | ||
| 923 | .mode = 0555, | ||
| 924 | .child = slow_work_sysctls, | ||
| 925 | }, | ||
| 926 | #endif | ||
| 927 | #ifdef CONFIG_PERF_EVENTS | 918 | #ifdef CONFIG_PERF_EVENTS |
| 928 | { | 919 | { |
| 929 | .procname = "perf_event_paranoid", | 920 | .procname = "perf_event_paranoid", |
