summaryrefslogtreecommitdiff
path: root/fs/proc/array.c
diff options
context:
space:
mode:
authorDavid Howells <dhowells@redhat.com>2005-01-04 05:20:51 -0800
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-01-04 05:20:51 -0800
commitc9b76af7842952ee39a1bb59a7553f18c6dde743 (patch)
tree9f5152e0f0cffa2ae98417aa51e84d04012c0c7d /fs/proc/array.c
parentfeed5ede30ad74b25810eeb09f9b01033a442f7f (diff)
[PATCH] FRV: procfs changes for nommu changes
The attached patch splits some memory-related procfs files into MMU and !MMU versions and places them in separate conditionally-compiled files. A header file local to the fs/proc/ directory is used to declare functions and the like. Additionally, a !MMU-only proc file (/proc/maps) is provided so that master VMA list in a uClinux kernel is viewable. Signed-Off-By: David Howells <dhowells@redhat.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'fs/proc/array.c')
-rw-r--r--fs/proc/array.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/proc/array.c b/fs/proc/array.c
index ab3784acd70f..e4bd14aa005d 100644
--- a/fs/proc/array.c
+++ b/fs/proc/array.c
@@ -78,6 +78,7 @@
#include <asm/pgtable.h>
#include <asm/io.h>
#include <asm/processor.h>
+#include "internal.h"
/* Gcc optimizes away "strlen(x)" for constant x */
#define ADDBUF(buffer, string) \