arm64: move {PAGE,CONT}_SHIFT into Kconfig
authorMark Rutland <[email protected]>
Tue, 31 May 2016 14:57:59 +0000 (15:57 +0100)
committerWill Deacon <[email protected]>
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 <[email protected]>
Cc: Ard Biesheuvel <[email protected]>
Cc: Catalin Marinas <[email protected]>
Cc: Sudeep Holla <[email protected]>
Cc: Will Deacon <[email protected]>
Signed-off-by: Will Deacon <[email protected]>
arch/arm64/Kconfig
arch/arm64/include/asm/page.h