Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=17fbe0043e9d623e46a57b153aa0b80ee9de7790
Commit:     17fbe0043e9d623e46a57b153aa0b80ee9de7790
Parent:     64135fa97ce016058f95345425a9ebd04ee1bd2a
Author:     Simon Horman <[EMAIL PROTECTED]>
AuthorDate: Mon Nov 12 13:55:21 2007 +0900
Committer:  Tony Luck <[EMAIL PROTECTED]>
CommitDate: Wed Dec 19 11:32:52 2007 -0800

    [IA64] Guard elfcorehdr_addr with #if CONFIG_PROC_FS
    
    Access to elfcorehdr_addr needs to be guarded by #if CONFIG_PROC_FS
    as well as the existing #if guards.
    
    Fixes the following build problem:
    
    arch/ia64/hp/common/built-in.o: In function
    `sba_init':arch/ia64/hp/common/sba_iommu.c:2043: undefined reference to 
`elfcorehdr_addr'
    :arch/ia64/hp/common/sba_iommu.c:2043: undefined reference to 
`elfcorehdr_addr'
    
    Signed-off-by: Simon Horman <[EMAIL PROTECTED]>
    Signed-off-by: Tony Luck <[EMAIL PROTECTED]>
---
 arch/ia64/hp/common/sba_iommu.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/arch/ia64/hp/common/sba_iommu.c b/arch/ia64/hp/common/sba_iommu.c
index bc859a3..45bf04e 100644
--- a/arch/ia64/hp/common/sba_iommu.c
+++ b/arch/ia64/hp/common/sba_iommu.c
@@ -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
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to