Skip to content
Commit 49c221ca authored by Ryan Roberts's avatar Ryan Roberts
Browse files

mm: hugetlb: Add huge page size param to set_huge_pte_at()



In order to fix a bug, arm64 needs to be told the size of the huge page
for which the pte is being set in set_huge_pte_at(). Provide for this by
adding an `unsigned long sz` parameter to the function. This follows the
same pattern as huge_pte_clear().

This commit makes the required interface modifications to the core mm as
well as all arches that implement this function (arm64, parisc, powerpc,
riscv, s390, sparc). The actual arm64 bug will be fixed in a separate
commit.

No behavioral changes intended.

Signed-off-by: Ryan Roberts's avatarRyan Roberts <ryan.roberts@arm.com>
Cc: <stable@vger.kernel.org> # 6.5+
parent ce9ecca0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment