powerpc-mm-add-pd_leaf-definitions.patch removed from -mm tree
The patch titled
Subject: powerpc: mm: add p?d_leaf() definitions
has been removed from the -mm tree. Its filename was
powerpc-mm-add-pd_leaf-definitions.patch
This patch was dropped because it was merged into mainline or a subsystem tree
------------------------------------------------------
From: Steven Price <[email protected]>
Subject: powerpc: mm: add p?d_leaf() definitions
walk_page_range() is going to be allowed to walk page tables other than those of user space. For this it needs to know when it has reached a 'leaf' entry in the page tables. This information is provided by the p?d_leaf() functions/macros.
For powerpc p?d_is_leaf() functions already exist. Export them using the new p?d_leaf() name.
---
arch/powerpc/include/asm/book3s/64/pgtable.h | 3 +++ 1 file changed, 3 insertions(+)
arch/powerpc/include/asm/book3s/64/pgtable.h renamed from arch/powerpc/include/asm/book3s/64/pgtable.h~powerpc-mm-add-pd_leaf-definitions +3 -0
@@ -1355,18 +1355,21 @@ static inline bool is_pte_rw_upgrade(uns* Like pmd_huge() and pmd_large(), but works regardless of config options */ #define pmd_is_leaf pmd_is_leaf +#define pmd_leaf pmd_is_leafstatic inline bool pmd_is_leaf (pmd_t pmd) {return !!(pmd_raw (pmd) &cpu_to_be64 (_PAGE_PTE)); }#define pud_is_leaf pud_is_leaf +#define pud_leaf pud_is_leafstatic inline bool pud_is_leaf (pud_t pud) {return !!(pud_raw (pud) &cpu_to_be64 (_PAGE_PTE)); }#define pgd_is_leaf pgd_is_leaf +#define pgd_leaf pgd_is_leafstatic inline bool pgd_is_leaf (pgd_t pgd) {return !!(pgd_raw (pgd) &cpu_to_be64 (_PAGE_PTE));
_
Patches currently in -mm which might be from [email protected] are