From: Ard Biesheuvel Date: Wed, 2 Jul 2014 12:54:42 +0000 (+0200) Subject: efi: efistub: Refactor stub components X-Git-Tag: omap-for-v3.17/fixes-against-rc2~174^2~21 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bd669475d14e3279a7f96ed917a82df5da6ad52d;p=pandora-kernel.git efi: efistub: Refactor stub components In order to move from the #include "../../../xxxxx.c" anti-pattern used by both the x86 and arm64 versions of the stub to a static library linked into either the kernel proper (arm64) or a separate boot executable (x86), there is some prepatory work required. This patch does the following: - move forward declarations of functions shared between the arch specific and the generic parts of the stub to include/linux/efi.h - move forward declarations of functions shared between various .c files of the generic stub code to a new local header file called "efistub.h" - add #includes to all .c files which were formerly relying on the #includor to include the correct header files - remove all static modifiers from functions which will need to be externally visible once we move to a static library Signed-off-by: Ard Biesheuvel Signed-off-by: Matt Fleming --- Reading git-diff-tree failed