Re: powerpc/mm: fix a hardcode on memory boundary checking

From: Michael Ellerman
Date: Mon Aug 07 2017 - 06:41:56 EST

On Thu, 2017-01-12 at 09:09:06 UTC, Rui Teng wrote:
> The offset of hugepage block will not be 16G, if the expected
> page is more than one. Calculate the totol size instead of the
> hardcode value.
> Signed-off-by: Rui Teng <rui.teng@xxxxxxxxxxxxxxxxxx>
> Tested-by: Anshuman Khandual <khandual@xxxxxxxxxxxxxxxxxx>

Applied to powerpc next, thanks.