2.6.0-test11-mm1 doesn't compile on x86_64

From: Martin J. Bligh
Date: Fri Dec 19 2003 - 12:38:01 EST


fs/proc/task_mmu.c: In function `show_map':
fs/proc/task_mmu.c:127: `gate_dso_path' undeclared (first use in this function)
fs/proc/task_mmu.c:127: (Each undeclared identifier is reported only once
fs/proc/task_mmu.c:127: for each function it appears in.)
make[2]: *** [fs/proc/task_mmu.o] Error 1
make[1]: *** [fs/proc] Error 2
make: *** [fs] Error 2
make: *** Waiting for unfinished jobs....

It seems to be fixmap-in-proc-pid-maps-ng.patch that's broken
(davidm cc'ed). Maybe something as simple as the below fixes it.
Or maybe it's total crap ... I don't really know what AT_SYSINFO_EHDR
is, but presumably someone does.

M.

diff -urpN -X /home/fletch/.diff.exclude mm1/fs/proc/task_mmu.c mm1-fix/fs/proc/task_mmu.c
--- mm1/fs/proc/task_mmu.c Fri Dec 19 09:15:45 2003
+++ mm1-fix/fs/proc/task_mmu.c Fri Dec 19 09:21:11 2003
@@ -76,9 +76,10 @@ int task_statm(struct mm_struct *mm, int
return size;
}

+char gate_dso_path[256] = "";
+
#ifdef AT_SYSINFO_EHDR

-char gate_dso_path[256] = "";
static struct vm_area_struct gate_vmarea = {
/* Do _not_ mark this area as readable, cuz not the entire range may be readable
(e.g., due to execute-only pages or holes) and the tools that read

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/