diff options
Diffstat (limited to 'arch/x86/mm/ident_map.c')
-rw-r--r-- | arch/x86/mm/ident_map.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/mm/ident_map.c b/arch/x86/mm/ident_map.c index ab33a32df2a8..9aa22be8331e 100644 --- a/arch/x86/mm/ident_map.c +++ b/arch/x86/mm/ident_map.c | |||
@@ -120,7 +120,7 @@ int kernel_ident_mapping_init(struct x86_mapping_info *info, pgd_t *pgd_page, | |||
120 | result = ident_p4d_init(info, p4d, addr, next); | 120 | result = ident_p4d_init(info, p4d, addr, next); |
121 | if (result) | 121 | if (result) |
122 | return result; | 122 | return result; |
123 | if (IS_ENABLED(CONFIG_X86_5LEVEL)) { | 123 | if (pgtable_l5_enabled) { |
124 | set_pgd(pgd, __pgd(__pa(p4d) | info->kernpg_flag)); | 124 | set_pgd(pgd, __pgd(__pa(p4d) | info->kernpg_flag)); |
125 | } else { | 125 | } else { |
126 | /* | 126 | /* |