]> git.karo-electronics.de Git - karo-tx-linux.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)
commit17fbe0043e9d623e46a57b153aa0b80ee9de7790
tree785d05e9cd0abd82b7dafc89b3119f56aa20e1e8
parent64135fa97ce016058f95345425a9ebd04ee1bd2a
[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