Skip to contentSkip to conversation

powerpc: remove newly added extra definition of pmd_dirty

PATCH Applied Stephen Rothwell 3 participants 4 messages Jan 21, 2016 PowerPC

lore
Share & tools
lore
#0 lore raw

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.

Cc Minchan Kim <[email protected]>
Cc Andrew Morton <[email protected]>
---
 arch/powerpc/include/asm/book3s/64/pgtable.h | 1 -
 1 file changed, 1 deletion(-)
arch/powerpc/include/asm/book3s/64/pgtable.h +0 -1
index 8204b0c393aa..8d1c41d28318 100644
@@ -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]
reviewer Applied
#3 lore raw
In reply to Stephen Rothwell
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 of pdm_dirty. Remove it again.

Cc Minchan Kim <[email protected]>
Cc Andrew Morton <[email protected]>

Applied to powerpc fixes, thanks.

https://git.kernel.org/powerpc/c/0e2bce7411542fa336ef490414

cheers