diff options
author | Borislav Petkov <bp@suse.de> | 2022-02-02 20:24:30 +0100 |
---|---|---|
committer | Borislav Petkov <bp@suse.de> | 2022-04-17 21:15:49 +0200 |
commit | 5dc91f2d4f3c160199fea9421d6b08f67a906947 (patch) | |
tree | c4f4187d7684cd0368da07686e64e0bc075cd5c6 /arch/x86/boot/compressed/misc.h | |
parent | 101826e02ac6c829bf4e768295e79ae9c37b4b2a (diff) |
x86/boot: Add an efi.h header for the decompressor
Copy the needed symbols only and remove the kernel proper includes.
No functional changes.
Signed-off-by: Borislav Petkov <bp@suse.de>
Link: https://lore.kernel.org/r/YlCKWhMJEMUgJmjF@zn.tnic
Diffstat (limited to 'arch/x86/boot/compressed/misc.h')
-rw-r--r-- | arch/x86/boot/compressed/misc.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/x86/boot/compressed/misc.h b/arch/x86/boot/compressed/misc.h index 75d284ec763f..4ca2857ea041 100644 --- a/arch/x86/boot/compressed/misc.h +++ b/arch/x86/boot/compressed/misc.h @@ -23,7 +23,6 @@ #include <linux/screen_info.h> #include <linux/elf.h> #include <linux/io.h> -#include <linux/efi.h> #include <asm/page.h> #include <asm/boot.h> #include <asm/bootparam.h> @@ -35,6 +34,8 @@ #define BOOT_BOOT_H #include "../ctype.h" +#include "efi.h" + #ifdef CONFIG_X86_64 #define memptr long #else |