Re: [PATCH] ehea: replace with page_shift() in ehea_is_hugepage()

From: David Miller
Date: Wed Nov 06 2019 - 13:23:52 EST


From: Yunfeng Ye <yeyunfeng@xxxxxxxxxx>
Date: Tue, 5 Nov 2019 19:30:45 +0800

> The function page_shift() is supported after the commit 94ad9338109f
> ("mm: introduce page_shift()").
>
> So replace with page_shift() in ehea_is_hugepage() for readability.
>
> Signed-off-by: Yunfeng Ye <yeyunfeng@xxxxxxxxxx>

Applied to net-next.