mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-25 05:04:09 +08:00
powerpc: Fix pud_mkwrite() definition after pte_mkwrite() API changes
Fix up missed semantic mis-merge between commits161e393c0f
("mm: Make pte_mkwrite() take a VMA")27af67f356
("powerpc/book3s64/mm: enable transparent pud hugepage") where the newly introduced powerpc use of 'pte_mkwrite()' needs to use the 'novma()' versions as per commit2f0584f3f4
("mm: Rename arch pte_mkwrite()'s to pte_mkwrite_novma()"). Fixes:df57721f9a
("Merge tag 'x86_shstk_for_6.6-rc1' of [...]") Signed-off-by: Ingo Molnar <mingo@kernel.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
87dfd85c38
commit
f441ff73f1
@ -931,7 +931,7 @@ static inline pte_t *pudp_ptep(pud_t *pud)
|
||||
#define pud_mkdirty(pud) pte_pud(pte_mkdirty(pud_pte(pud)))
|
||||
#define pud_mkclean(pud) pte_pud(pte_mkclean(pud_pte(pud)))
|
||||
#define pud_mkyoung(pud) pte_pud(pte_mkyoung(pud_pte(pud)))
|
||||
#define pud_mkwrite(pud) pte_pud(pte_mkwrite(pud_pte(pud)))
|
||||
#define pud_mkwrite(pud) pte_pud(pte_mkwrite_novma(pud_pte(pud)))
|
||||
#define pud_write(pud) pte_write(pud_pte(pud))
|
||||
|
||||
#ifdef CONFIG_HAVE_ARCH_SOFT_DIRTY
|
||||
|
Loading…
Reference in New Issue
Block a user