]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
Fix compile failure with non modular builds
authorJames Bottomley <James.Bottomley@HansenPartnership.com>
Tue, 9 Sep 2008 14:04:18 +0000 (14:04 +0000)
committerPaul Mackerras <paulus@samba.org>
Wed, 17 Sep 2008 16:14:42 +0000 (09:14 -0700)
commit2d291e902791e1c8d72bc223b6f063bbb27a1280
treef4c5093b1d51929ee8f09b60708125c66f2c4f7e
parent32dde0f975e430f00f03f80f7dbab585d8b45eab
Fix compile failure with non modular builds

Commit deac93df26b20cf8438339b5935b5f5643bc30c9 ("lib: Correct printk
%pF to work on all architectures") 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
definition of struct ppc64_opd_entry has been lifted out of modules.c
and put in asm/elf.h where it belongs.

Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/include/asm/elf.h
arch/powerpc/include/asm/sections.h
arch/powerpc/kernel/module_64.c