]> git.baikalelectronics.ru Git - kernel.git/commit
[IA64] Guard elfcorehdr_addr with #if CONFIG_PROC_FS
authorSimon Horman <horms@verge.net.au>
Mon, 12 Nov 2007 04:55:21 +0000 (13:55 +0900)
committerTony Luck <tony.luck@intel.com>
Wed, 19 Dec 2007 19:32:52 +0000 (11:32 -0800)
commitdc053e18d97d4ed3e92f7ac26960926b55938108
tree785d05e9cd0abd82b7dafc89b3119f56aa20e1e8
parentc259bd83705d4077c8ea757206b8f400ea38f11d
[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>
arch/ia64/hp/common/sba_iommu.c