[PATCH] proc: Move proc_maps_operations into task_mmu.c
commit662795deb854b31501e0ffb42b7f0cce802c134a
authorEric W. Biederman <ebiederm@xmission.com>
Mon, 26 Jun 2006 07:25:48 +0000 (26 00:25 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Mon, 26 Jun 2006 16:58:24 +0000 (26 09:58 -0700)
treed4849ad5ca7383ca9d0c9b6d46db83097d5dba85
parent6e66b52bf587f0dd9a8e0a581b9570e5c1969e33
[PATCH] proc: Move proc_maps_operations into task_mmu.c

All of the functions for proc_maps_operations are already defined in
task_mmu.c so move the operations structure to keep the functionality
together.

Since task_nommu.c implements a dummy version of /proc/<pid>/maps give it a
simplified version of proc_maps_operations that it can modify to best suit its
needs.

Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
fs/proc/base.c
fs/proc/internal.h
fs/proc/task_mmu.c
fs/proc/task_nommu.c