[IA64] fix compile failure with non modular builds
authorJames Bottomley <James.Bottomley@HansenPartnership.com>
Tue, 9 Sep 2008 22:56:47 +0000 (17:56 -0500)
committerTony Luck <tony.luck@intel.com>
Wed, 10 Sep 2008 17:46:32 +0000 (10:46 -0700)
commit4611a771fc8e5ad77d27f25268846abb425101a0
tree0c897e70d6ae6a810dfa2f4be8a6aaba7d33e8f1
parentadee14b2e1557d0a8559f29681732d05a89dfc35
[IA64] fix compile failure with non modular builds

Broke the non modular builds by moving an essential function into
modules.c.  Fix this by moving it out again and into asm/sections.h as
an inline.  To do this, the definitions of struct fdesc and struct
got_val have been lifted out of modules.c and put in asm/elf.h where
they belong.

Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>
arch/ia64/include/asm/elf.h
arch/ia64/include/asm/sections.h
arch/ia64/kernel/module.c