From: James Bottomley Date: Tue, 9 Sep 2008 14:04:18 +0000 (+0000) Subject: Fix compile failure with non modular builds X-Git-Tag: v2.6.27-rc7~13^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2d291e902791e1c8d72bc223b6f063bbb27a1280;p=pandora-kernel.git 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 Signed-off-by: Paul Mackerras --- Reading git-diff-tree failed