powerpc: remove newly added extra definition of pmd_dirty
PATCH 1/1 powerpc: remove newly added extra definition of pmd_dirty
Commit d5d6a443b243 ("arch/powerpc/include/asm/pgtable-ppc64.h:
add pmd_[dirty|mkclean] for THP") added a new identical definition of pdm_dirty. Remove it again.
--- arch/powerpc/include/asm/book3s/64/pgtable.h | 1 - 1 file changed, 1 deletion(-)
arch/powerpc/include/asm/book3s/64/pgtable.h +0 -1
@@ -223,7 +223,6 @@ static inline pte_t *pmdp_ptep(pmd_t *pmd)#define pmd_pfn (pmd) pte_pfn(pmd_pte(pmd))#define pmd_dirty (pmd) pte_dirty(pmd_pte(pmd))#define pmd_young (pmd) pte_young(pmd_pte(pmd)) -#define pmd_dirty (pmd) pte_dirty(pmd_pte(pmd))#define pmd_mkold (pmd) pte_pmd(pte_mkold(pmd_pte(pmd)))#define pmd_wrprotect (pmd) pte_pmd(pte_wrprotect(pmd_pte(pmd)))#define pmd_mkdirty (pmd) pte_pmd(pte_mkdirty(pmd_pte(pmd)))
Signature · 5 lines
2.7.0.rc3 -- Cheers, Stephen Rothwell [email protected]
Quoted 7 lines · Stephen Rothwell
Commit
d5d6a443b243("arch/powerpc/include/asm/pgtable-ppc64.h:
add pmd_[dirty|mkclean] for THP") added a new identical definition ofpdm_dirty. Remove it again.Cc Minchan Kim <[email protected]>Cc Andrew Morton <[email protected]>Signed-off-by Stephen Rothwell <[email protected]>
Thanks for the fix!
Michael Ellerman
reviewerQuoted 7 lines · Stephen Rothwell
Commit
d5d6a443b243("arch/powerpc/include/asm/pgtable-ppc64.h:
add pmd_[dirty|mkclean] for THP") added a new identical definition ofpdm_dirty. Remove it again.Cc Minchan Kim <[email protected]>Cc Andrew Morton <[email protected]>Signed-off-by Stephen Rothwell <[email protected]>
Thanks.
I have a couple of other things to send to Linus so I'll pick this up.
cheers
Quoted 7 lines · Stephen Rothwell
Commit
d5d6a443b243("arch/powerpc/include/asm/pgtable-ppc64.h:
add pmd_[dirty|mkclean] for THP") added a new identical definition ofpdm_dirty. Remove it again.Cc Minchan Kim <[email protected]>Cc Andrew Morton <[email protected]>Signed-off-by Stephen Rothwell <[email protected]>
Applied to powerpc fixes, thanks.
https://git.kernel.org/powerpc/c/0e2bce7411542fa336ef490414
cheers