]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - arch/ia64/hp/common/sba_iommu.c
[IA64] Guard elfcorehdr_addr with #if CONFIG_PROC_FS
[linux-2.6-omap-h63xx.git] / arch / ia64 / hp / common / sba_iommu.c
index bc859a311eaf07774379ad3daa40067cb252c304..45bf04eb7d705c2371d8907e8ec13cc7ab5d6be5 100644 (file)
@@ -2034,7 +2034,8 @@ sba_init(void)
        if (!ia64_platform_is("hpzx1") && !ia64_platform_is("hpzx1_swiotlb"))
                return 0;
 
-#if defined(CONFIG_IA64_GENERIC) && defined(CONFIG_CRASH_DUMP)
+#if defined(CONFIG_IA64_GENERIC) && defined(CONFIG_CRASH_DUMP) && \
+        defined(CONFIG_PROC_FS)
        /* If we are booting a kdump kernel, the sba_iommu will
         * cause devices that were not shutdown properly to MCA
         * as soon as they are turned back on.  Our only option for