]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
powerpc: Export CMO_PageSize
authorAndrew Morton <akpm@linux-foundation.org>
Thu, 21 Aug 2008 01:16:26 +0000 (11:16 +1000)
committerPaul Mackerras <paulus@samba.org>
Tue, 26 Aug 2008 00:24:47 +0000 (10:24 +1000)
This fixes an error building powerpc allmodconfig:

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

Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/platforms/pseries/setup.c

index 3ce8a139b85d20b16aac2c9ca82746720f74951b..7b01d67b4e48ca40dd4d053ae02a59edc702b326 100644 (file)
@@ -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 */