s390-mm-add-pd_leaf-definitions.patch removed from -mm tree
The patch titled
Subject: s390: mm: add p?d_leaf() definitions
has been removed from the -mm tree. Its filename was
s390-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: s390: 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 s390, pud_large() and pmd_large() are already implemented as static inline functions. Add a macro to provide the p?d_leaf names for the generic code to use.
---
arch/s390/include/asm/pgtable.h | 2 ++ 1 file changed, 2 insertions(+)
arch/s390/include/asm/pgtable.h renamed from arch/s390/include/asm/pgtable.h~s390-mm-add-pd_leaf-definitions +2 -0
@@ -673,6 +673,7 @@ static inline int pud_none(pud_t pud)return pud_val (pud) == _REGION3_ENTRY_EMPTY; } +#define pud_leaf pud_largestatic inline int pud_large (pud_t pud) {if ((pud_val (pud) & _REGION_ENTRY_TYPE_MASK) != _REGION_ENTRY_TYPE_R3)
@@ -690,6 +691,7 @@ static inline unsigned long pud_pfn(pud_return (pud_val (pud) & origin_mask) >>PAGE_SHIFT ; } +#define pmd_leaf pmd_largestatic inline int pmd_large (pmd_t pmd) {return (pmd_val (pmd) & _SEGMENT_ENTRY_LARGE) !=0 ;
_
Patches currently in -mm which might be from [email protected] are