]> git.baikalelectronics.ru Git - kernel.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)
commit336e1446558fc084dcab748b0a7ae2d9c5a380b2
treef4c5093b1d51929ee8f09b60708125c66f2c4f7e
parent82c12ed0768f9252210cb40afd8422b42925298d
Fix compile failure with non modular builds

Commit f394f40ff42a2383a46dce8c8650e1899ff0d389 ("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