arm64: move {PAGE,CONT}_SHIFT into Kconfig
authorMark Rutland <mark.rutland@arm.com>
Tue, 31 May 2016 14:57:59 +0000 (15:57 +0100)
committerWill Deacon <will.deacon@arm.com>
Fri, 3 Jun 2016 09:57:18 +0000 (10:57 +0100)
commit030c4d24447cbf2bd612baea5695952e5f62c042
tree370cfec9c6a7ed803abd94449aab1080b909fed4
parent48dd73c55d45d60037ea8d73eab60f2033d90721
arm64: move {PAGE,CONT}_SHIFT into Kconfig

In some cases (e.g. the awk for CONFIG_RANDOMIZE_TEXT_OFFSET) we would
like to make use of PAGE_SHIFT outside of code that can include the
usual header files.

Add a new CONFIG_ARM64_PAGE_SHIFT for this, likewise with
ARM64_CONT_SHIFT for consistency.

Signed-off-by: Mark Rutland <mark.rutland@arm.com>
Cc: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Cc: Catalin Marinas <catalin.marinas@arm.com>
Cc: Sudeep Holla <sudeep.holla@arm.com>
Cc: Will Deacon <will.deacon@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
arch/arm64/Kconfig
arch/arm64/include/asm/page.h