diff options
Diffstat (limited to 'arch/x86/boot/compressed/misc.h')
-rw-r--r-- | arch/x86/boot/compressed/misc.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/arch/x86/boot/compressed/misc.h b/arch/x86/boot/compressed/misc.h index 9d323dc6b159..9e11be4cae19 100644 --- a/arch/x86/boot/compressed/misc.h +++ b/arch/x86/boot/compressed/misc.h | |||
@@ -12,6 +12,11 @@ | |||
12 | #undef CONFIG_PARAVIRT_SPINLOCKS | 12 | #undef CONFIG_PARAVIRT_SPINLOCKS |
13 | #undef CONFIG_KASAN | 13 | #undef CONFIG_KASAN |
14 | 14 | ||
15 | #ifdef CONFIG_X86_5LEVEL | ||
16 | /* cpu_feature_enabled() cannot be used that early */ | ||
17 | #define pgtable_l5_enabled __pgtable_l5_enabled | ||
18 | #endif | ||
19 | |||
15 | #include <linux/linkage.h> | 20 | #include <linux/linkage.h> |
16 | #include <linux/screen_info.h> | 21 | #include <linux/screen_info.h> |
17 | #include <linux/elf.h> | 22 | #include <linux/elf.h> |
@@ -109,6 +114,6 @@ static inline void console_init(void) | |||
109 | { } | 114 | { } |
110 | #endif | 115 | #endif |
111 | 116 | ||
112 | unsigned long get_sev_encryption_mask(void); | 117 | void set_sev_encryption_mask(void); |
113 | 118 | ||
114 | #endif | 119 | #endif |