]> git.karo-electronics.de Git - linux-beck.git/commit
arm64: Fix typo in add_default_hugepagesz() for 64K pages
authorCatalin Marinas <catalin.marinas@arm.com>
Wed, 9 Nov 2016 16:52:21 +0000 (16:52 +0000)
committerCatalin Marinas <catalin.marinas@arm.com>
Wed, 9 Nov 2016 16:52:21 +0000 (16:52 +0000)
commit6ed0038d5ecb307298bbb04e74eb96c4a500ad1f
treeed7cefab12ff617f03d0227288ac6b4691137a0b
parent7b03b6223105cc02672616211149ccda04184bfd
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: Catalin Marinas <catalin.marinas@arm.com>
arch/arm64/mm/hugetlbpage.c