[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 <horms@verge.net.au>
Signed-off-by: Tony Luck <tony.luck@intel.com>

authored by Simon Horman and committed by Tony Luck 17fbe004 64135fa9

+2 -1
+2 -1
arch/ia64/hp/common/sba_iommu.c
··· 2034 2034 if (!ia64_platform_is("hpzx1") && !ia64_platform_is("hpzx1_swiotlb")) 2035 2035 return 0; 2036 2036 2037 - #if defined(CONFIG_IA64_GENERIC) && defined(CONFIG_CRASH_DUMP) 2037 + #if defined(CONFIG_IA64_GENERIC) && defined(CONFIG_CRASH_DUMP) && \ 2038 + defined(CONFIG_PROC_FS) 2038 2039 /* If we are booting a kdump kernel, the sba_iommu will 2039 2040 * cause devices that were not shutdown properly to MCA 2040 2041 * as soon as they are turned back on. Our only option for