diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2013-04-19 23:11:24 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2013-05-01 17:29:46 -0400 |
commit | 8d8b97ba499cb69fccb5fd9f2b439e3265fc3f27 (patch) | |
tree | 7058d6aedd3bbf160144565dc13d92a9e20b797c /include | |
parent | 4c23782091dc98221dc149e844ab128771a78ea2 (diff) |
take cgroup_open() and cpuset_open() to fs/proc/base.c
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/cgroup.h | 2 | ||||
-rw-r--r-- | include/linux/cpuset.h | 3 |
2 files changed, 2 insertions, 3 deletions
diff --git a/include/linux/cgroup.h b/include/linux/cgroup.h index 900af5964f55..68f2157b71d4 100644 --- a/include/linux/cgroup.h +++ b/include/linux/cgroup.h | |||
@@ -42,7 +42,7 @@ extern int cgroupstats_build(struct cgroupstats *stats, | |||
42 | extern int cgroup_load_subsys(struct cgroup_subsys *ss); | 42 | extern int cgroup_load_subsys(struct cgroup_subsys *ss); |
43 | extern void cgroup_unload_subsys(struct cgroup_subsys *ss); | 43 | extern void cgroup_unload_subsys(struct cgroup_subsys *ss); |
44 | 44 | ||
45 | extern const struct file_operations proc_cgroup_operations; | 45 | extern int proc_cgroup_show(struct seq_file *, void *); |
46 | 46 | ||
47 | /* Define the enumeration of all builtin cgroup subsystems */ | 47 | /* Define the enumeration of all builtin cgroup subsystems */ |
48 | #define SUBSYS(_x) _x ## _subsys_id, | 48 | #define SUBSYS(_x) _x ## _subsys_id, |
diff --git a/include/linux/cpuset.h b/include/linux/cpuset.h index 8c8a60d29407..22b637c5ecae 100644 --- a/include/linux/cpuset.h +++ b/include/linux/cpuset.h | |||
@@ -64,10 +64,9 @@ extern int cpuset_mems_allowed_intersects(const struct task_struct *tsk1, | |||
64 | extern int cpuset_memory_pressure_enabled; | 64 | extern int cpuset_memory_pressure_enabled; |
65 | extern void __cpuset_memory_pressure_bump(void); | 65 | extern void __cpuset_memory_pressure_bump(void); |
66 | 66 | ||
67 | extern const struct file_operations proc_cpuset_operations; | ||
68 | struct seq_file; | ||
69 | extern void cpuset_task_status_allowed(struct seq_file *m, | 67 | extern void cpuset_task_status_allowed(struct seq_file *m, |
70 | struct task_struct *task); | 68 | struct task_struct *task); |
69 | extern int proc_cpuset_show(struct seq_file *, void *); | ||
71 | 70 | ||
72 | extern int cpuset_mem_spread_node(void); | 71 | extern int cpuset_mem_spread_node(void); |
73 | extern int cpuset_slab_spread_node(void); | 72 | extern int cpuset_slab_spread_node(void); |