Re: [PATCH v4 07/19] sparc: mm: Add p?d_large() definitions

From: David Miller
Date: Wed Mar 06 2019 - 14:02:28 EST


From: Steven Price <steven.price@xxxxxxx>
Date: Wed, 6 Mar 2019 15:50:19 +0000

> 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_large() functions/macros.
>
> For sparc 64 bit, pmd_large() and pud_large() are already provided, so
> add #defines to prevent the generic versions (added in a later patch)
> from being used.
>
> CC: "David S. Miller" <davem@xxxxxxxxxxxxx>
> CC: sparclinux@xxxxxxxxxxxxxxx
> Signed-off-by: Steven Price <steven.price@xxxxxxx>

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