diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/asm-s390/processor.h | 3 | ||||
-rw-r--r-- | include/linux/cpuset.h | 9 | ||||
-rw-r--r-- | include/linux/proc_fs.h | 3 |
3 files changed, 9 insertions, 6 deletions
diff --git a/include/asm-s390/processor.h b/include/asm-s390/processor.h index 4f744609cd11..dfec2d011c0d 100644 --- a/include/asm-s390/processor.h +++ b/include/asm-s390/processor.h | |||
@@ -161,6 +161,7 @@ struct stack_frame { | |||
161 | /* Forward declaration, a strange C thing */ | 161 | /* Forward declaration, a strange C thing */ |
162 | struct task_struct; | 162 | struct task_struct; |
163 | struct mm_struct; | 163 | struct mm_struct; |
164 | struct seq_file; | ||
164 | 165 | ||
165 | /* Free all resources held by a thread. */ | 166 | /* Free all resources held by a thread. */ |
166 | extern void release_thread(struct task_struct *); | 167 | extern void release_thread(struct task_struct *); |
@@ -177,7 +178,7 @@ extern unsigned long thread_saved_pc(struct task_struct *t); | |||
177 | /* | 178 | /* |
178 | * Print register of task into buffer. Used in fs/proc/array.c. | 179 | * Print register of task into buffer. Used in fs/proc/array.c. |
179 | */ | 180 | */ |
180 | extern char *task_show_regs(struct task_struct *task, char *buffer); | 181 | extern void task_show_regs(struct seq_file *m, struct task_struct *task); |
181 | 182 | ||
182 | extern void show_registers(struct pt_regs *regs); | 183 | extern void show_registers(struct pt_regs *regs); |
183 | extern void show_code(struct pt_regs *regs); | 184 | extern void show_code(struct pt_regs *regs); |
diff --git a/include/linux/cpuset.h b/include/linux/cpuset.h index ecae585ec3da..f8c9a2752f06 100644 --- a/include/linux/cpuset.h +++ b/include/linux/cpuset.h | |||
@@ -57,7 +57,9 @@ extern int cpuset_memory_pressure_enabled; | |||
57 | extern void __cpuset_memory_pressure_bump(void); | 57 | extern void __cpuset_memory_pressure_bump(void); |
58 | 58 | ||
59 | extern const struct file_operations proc_cpuset_operations; | 59 | extern const struct file_operations proc_cpuset_operations; |
60 | extern char *cpuset_task_status_allowed(struct task_struct *task, char *buffer); | 60 | struct seq_file; |
61 | extern void cpuset_task_status_allowed(struct seq_file *m, | ||
62 | struct task_struct *task); | ||
61 | 63 | ||
62 | extern void cpuset_lock(void); | 64 | extern void cpuset_lock(void); |
63 | extern void cpuset_unlock(void); | 65 | extern void cpuset_unlock(void); |
@@ -126,10 +128,9 @@ static inline int cpuset_mems_allowed_intersects(const struct task_struct *tsk1, | |||
126 | 128 | ||
127 | static inline void cpuset_memory_pressure_bump(void) {} | 129 | static inline void cpuset_memory_pressure_bump(void) {} |
128 | 130 | ||
129 | static inline char *cpuset_task_status_allowed(struct task_struct *task, | 131 | static inline void cpuset_task_status_allowed(struct seq_file *m, |
130 | char *buffer) | 132 | struct task_struct *task) |
131 | { | 133 | { |
132 | return buffer; | ||
133 | } | 134 | } |
134 | 135 | ||
135 | static inline void cpuset_lock(void) {} | 136 | static inline void cpuset_lock(void) {} |
diff --git a/include/linux/proc_fs.h b/include/linux/proc_fs.h index b04ebf09fb91..e4a8f9aef188 100644 --- a/include/linux/proc_fs.h +++ b/include/linux/proc_fs.h | |||
@@ -118,7 +118,8 @@ struct dentry *proc_pid_lookup(struct inode *dir, struct dentry * dentry, struct | |||
118 | int proc_pid_readdir(struct file * filp, void * dirent, filldir_t filldir); | 118 | int proc_pid_readdir(struct file * filp, void * dirent, filldir_t filldir); |
119 | unsigned long task_vsize(struct mm_struct *); | 119 | unsigned long task_vsize(struct mm_struct *); |
120 | int task_statm(struct mm_struct *, int *, int *, int *, int *); | 120 | int task_statm(struct mm_struct *, int *, int *, int *, int *); |
121 | char *task_mem(struct mm_struct *, char *); | 121 | void task_mem(struct seq_file *, struct mm_struct *); |
122 | void clear_refs_smap(struct mm_struct *mm); | ||
122 | 123 | ||
123 | struct proc_dir_entry *de_get(struct proc_dir_entry *de); | 124 | struct proc_dir_entry *de_get(struct proc_dir_entry *de); |
124 | void de_put(struct proc_dir_entry *de); | 125 | void de_put(struct proc_dir_entry *de); |