We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5927145 commit 31ad7f8Copy full SHA for 31ad7f8
arch/x86/entry/vsyscall/vsyscall_64.c
@@ -347,7 +347,7 @@ void __init set_vsyscall_pgtable_user_bits(pgd_t *root)
347
set_pgd(pgd, __pgd(pgd_val(*pgd) | _PAGE_USER));
348
p4d = p4d_offset(pgd, VSYSCALL_ADDR);
349
#if CONFIG_PGTABLE_LEVELS >= 5
350
- p4d->p4d |= _PAGE_USER;
+ set_p4d(p4d, __p4d(p4d_val(*p4d) | _PAGE_USER));
351
#endif
352
pud = pud_offset(p4d, VSYSCALL_ADDR);
353
set_pud(pud, __pud(pud_val(*pud) | _PAGE_USER));
0 commit comments