Subject: powerpc allmodconfig in current -mm

From: Andrew Morton <[email-masked]>
Date: Wed, 20 Aug 2008 18:16:26 -0700

/opt/crosstool/gcc-4.1.0-glibc-2.3.6/powerpc64-unknown-linux-gnu/bin/powerpc64-unknown-linux-gnu-ld: .tmp_vmlinux1: section .data.gcov lma 0xc000000002c2bb78 overlaps previous sections
/opt/crosstool/gcc-4.1.0-glibc-2.3.6/powerpc64-unknown-linux-gnu/bin/powerpc64-unknown-linux-gnu-ld: .tmp_vmlinux2: section .data.gcov lma 0xc000000002cdbb78 overlaps previous sections
/opt/crosstool/gcc-4.1.0-glibc-2.3.6/powerpc64-unknown-linux-gnu/bin/powerpc64-unknown-linux-gnu-ld: .tmp_vmlinux3: section .data.gcov lma 0xc000000002cdbb78 overlaps previous sections
/opt/crosstool/gcc-4.1.0-glibc-2.3.6/powerpc64-unknown-linux-gnu/bin/powerpc64-unknown-linux-gnu-ld: vmlinux: section .data.gcov lma 0xc000000002cdbb78 overlaps previous sections

that probably happens in linux-next and maybe mainline too.

Also....

From: Andrew Morton <[email-masked]>

powerpc allmodconfig:

ERROR: "CMO_PageSize" [arch/powerpc/platforms/pseries/cmm.ko] undefined!

(needed for 2.6.27)

Cc: Benjamin Herrenschmidt <[email-masked]>
Signed-off-by: Andrew Morton <[email-masked]>
---

 arch/powerpc/platforms/pseries/setup.c |    1 +
 1 file changed, 1 insertion(+)

diff -puN arch/powerpc/platforms/pseries/setup.c~powerpc-export-cmo_pagesize arch/powerpc/platforms/pseries/setup.c
--- a/arch/powerpc/platforms/pseries/setup.c~powerpc-export-cmo_pagesize
+++ a/arch/powerpc/platforms/pseries/setup.c
@@ -71,6 +71,7 @@
 int CMO_PrPSP = -1;
 int CMO_SecPSP = -1;
 unsigned long CMO_PageSize = (ASM_CONST(1) << IOMMU_PAGE_SHIFT);
+EXPORT_SYMBOL(CMO_PageSize);
 
 int fwnmi_active;  /* TRUE if an FWNMI handler is present */
 
_