Re: [PATCH v13 09/22] sparc: mm: Add p?d_leaf() definitions

From: David Miller
Date: Thu Oct 24 2019 - 12:46:29 EST


From: Steven Price <steven.price@xxxxxxx>
Date: Thu, 24 Oct 2019 10:37:03 +0100

> 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 sparc 64 bit, pmd_large() and pud_large() are already provided, so
> add macros to provide the p?d_leaf names required by the generic code.
>
> CC: "David S. Miller" <davem@xxxxxxxxxxxxx>
> CC: sparclinux@xxxxxxxxxxxxxxx
> Signed-off-by: Steven Price <steven.price@xxxxxxx>

Acked-by: David S. Miller <davem@xxxxxxxxxxxxx>