Messages in this thread Patch in this message | | | Date | Tue, 10 Apr 2007 23:08:26 +0200 | From | Adrian Bunk <> | Subject | [-mm patch] make struct proc_kpagemap static |
| |
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, - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |