Skip to content
Commit 6ed0038d authored by Catalin Marinas's avatar Catalin Marinas
Browse files

arm64: Fix typo in add_default_hugepagesz() for 64K pages



The default hugepage size when 64K pages are enabled is set to 2MB using
the contiguous PTE bit. The add_default_hugepagesz(), however, uses
CONT_PMD_SHIFT instead of CONT_PTE_SHIFT. There is no functional change
since the values are the same.

Signed-off-by: default avatarCatalin Marinas <catalin.marinas@arm.com>
parent 7b03b622
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment