diff options
author | Ard Biesheuvel <ard.biesheuvel@linaro.org> | 2014-07-02 08:54:42 -0400 |
---|---|---|
committer | Matt Fleming <matt.fleming@intel.com> | 2014-07-07 15:29:48 -0400 |
commit | bd669475d14e3279a7f96ed917a82df5da6ad52d (patch) | |
tree | b13bbe4cb23774acfea30e98d60fcfb4da029c2a /arch/arm64/kernel/Makefile | |
parent | a13b00778e89c405cb224ef0926be6d71682d2a2 (diff) |
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 <ard.biesheuvel@linaro.org>
Signed-off-by: Matt Fleming <matt.fleming@intel.com>
Diffstat (limited to 'arch/arm64/kernel/Makefile')
0 files changed, 0 insertions, 0 deletions