]> asedeno.scripts.mit.edu Git - linux.git/commit
arm64/hugetlb: Use macros for contiguous huge page sizes
authorAnshuman Khandual <anshuman.khandual@arm.com>
Tue, 21 May 2019 03:35:03 +0000 (09:05 +0530)
committerCatalin Marinas <catalin.marinas@arm.com>
Mon, 3 Jun 2019 15:58:37 +0000 (16:58 +0100)
commit441a627806873c1b63d06dea4391e79c88b8e496
tree584332906a336ff1cde067aa7d7decab8693abd6
parentf2c7c76c5d0a443053e94adb9f0918fa2fb85c3a
arm64/hugetlb: Use macros for contiguous huge page sizes

Replace all open encoded contiguous huge page size computations with
available macro encodings CONT_PTE_SIZE and CONT_PMD_SIZE. There are other
instances where these macros are used in the file and this change makes it
consistently use the same mnemonic.

Signed-off-by: Anshuman Khandual <anshuman.khandual@arm.com>
Cc: Will Deacon <will.deacon@arm.com>
Cc: Steve Capper <steve.capper@arm.com>
Cc: Mark Rutland <mark.rutland@arm.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
arch/arm64/mm/hugetlbpage.c