Message ID | 20210226090205.24132-1-wangjingyu@uniontech.com |
---|---|
State | New |
Headers | show |
Series | arch: x86/power Missing a blank line after declarations | expand |
diff --git a/arch/x86/power/hibernate_64.c b/arch/x86/power/hibernate_64.c index a595953f1d6d..7dfd3832c74c 100644 --- a/arch/x86/power/hibernate_64.c +++ b/arch/x86/power/hibernate_64.c @@ -78,6 +78,7 @@ static int set_up_temporary_text_mapping(pgd_t *pgd) } else { /* No p4d for 4-level paging: point the pgd to the pud page table */ pgd_t new_pgd = __pgd(__pa(pud) | pgprot_val(pgtable_prot)); + set_pgd(pgd + pgd_index(restore_jump_address), new_pgd); }
Ensure checkpatch compliance Signed-off-by: wangjingyu <wangjingyu@uniontech.com> --- arch/x86/power/hibernate_64.c | 1 + 1 file changed, 1 insertion(+)