From: Adrian Bunk Signed-off-by: Adrian Bunk Acked-by: Eric W. Biederman Signed-off-by: Andrew Morton --- fs/proc/base.c | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff -puN fs/proc/base.c~make-fs-proc-basecproc_pid_instantiate-static fs/proc/base.c --- a/fs/proc/base.c~make-fs-proc-basecproc_pid_instantiate-static +++ a/fs/proc/base.c @@ -1901,8 +1901,9 @@ out: return; } -struct dentry *proc_pid_instantiate(struct inode *dir, - struct dentry * dentry, struct task_struct *task, void *ptr) +static struct dentry *proc_pid_instantiate(struct inode *dir, + struct dentry * dentry, + struct task_struct *task, void *ptr) { struct dentry *error = ERR_PTR(-ENOENT); struct inode *inode; _