patch-2.0.1 linux/fs/proc/array.c

Next file: linux/fs/smbfs/dir.c
Previous file: linux/fs/pipe.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.0.0/linux/fs/proc/array.c linux/fs/proc/array.c
@@ -861,8 +861,13 @@
  * f_pos = (number of the vma in the task->mm->mmap list) * MAPS_LINE_LENGTH
  *         + (index into the line)
  */
+#ifdef __alpha__
+#define MAPS_LINE_FORMAT	  "%016lx-%016lx %s %016lx %s %lu\n"
+#define MAPS_LINE_MAX	73 /* sum of 16  1  16  1 4 1 16 1 5 1 10 1 */
+#else
 #define MAPS_LINE_FORMAT	  "%08lx-%08lx %s %08lx %s %lu\n"
 #define MAPS_LINE_MAX	49 /* sum of 8  1  8  1 4 1 8 1 5 1 10 1 */
+#endif
 
 static int read_maps (int pid, struct file * file, char * buf, int count)
 {

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov