[-mm patch] make struct proc_kpagemap static

Adrian Bunk
2007-04-10T21:08:20Z

On Sun, Apr 08, 2007 at 02:35:59PM -0700, Andrew Morton wrote:
>...
> Changes since 2.6.21-rc5-mm4:
>...
> +maps2-add-proc-kpagemap-interface.patch
>
> New interfaces for inspecting process memory status
>...

This patch makes the needlessly global truct proc_kpagemap static.

Signed-off-by: Adrian Bunk <bunk@stusta.de>

---
--- linux-2.6.21-rc6-mm1/fs/proc/proc_misc.c.old 2007-04-10 00:52:35.000000000 +0200
+++ linux-2.6.21-rc6-mm1/fs/proc/proc_misc.c 2007-04-10 00:52:49.000000000 +0200
@@ -732,7 +732,7 @@
return ret;
}

-struct proc_dir_entry *proc_kpagemap;
+static struct proc_dir_entry *proc_kpagemap;
static struct file_operations proc_kpagemap_operations = {
.llseek = mem_lseek,
.read = kpagemap_read,