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/pgtable_64.c | |
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/pgtable_64.c')
-rw-r--r-- | arch/x86/boot/compressed/pgtable_64.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/x86/boot/compressed/pgtable_64.c b/arch/x86/boot/compressed/pgtable_64.c index a1733319a22a..2ac12ff4111b 100644 --- a/arch/x86/boot/compressed/pgtable_64.c +++ b/arch/x86/boot/compressed/pgtable_64.c @@ -1,11 +1,10 @@ // SPDX-License-Identifier: GPL-2.0 #include "misc.h" -#include <linux/efi.h> #include <asm/e820/types.h> #include <asm/processor.h> -#include <asm/efi.h> #include "pgtable.h" #include "../string.h" +#include "efi.h" #define BIOS_START_MIN 0x20000U /* 128K, less than this is insane */ #define BIOS_START_MAX 0x9f000U /* 640K, absolute maximum */ |