proc: use unsigned long inside /proc/*/statm
[GitHub/mt8127/android_kernel_alcatel_ttab.git] / fs / proc / internal.h
index 1f24a3eddd122aae276efd1809a5983cf282a69e..659ea6af379a66239eef3bb03cb453f9b082756c 100644 (file)
@@ -96,7 +96,8 @@ extern spinlock_t proc_subdir_lock;
 struct dentry *proc_pid_lookup(struct inode *dir, struct dentry * dentry, struct nameidata *);
 int proc_pid_readdir(struct file * filp, void * dirent, filldir_t filldir);
 unsigned long task_vsize(struct mm_struct *);
-int task_statm(struct mm_struct *, int *, int *, int *, int *);
+unsigned long task_statm(struct mm_struct *,
+       unsigned long *, unsigned long *, unsigned long *, unsigned long *);
 void task_mem(struct seq_file *, struct mm_struct *);
 
 static inline struct proc_dir_entry *pde_get(struct proc_dir_entry *pde)