diff options
author | Joey Gouly <joey.gouly@arm.com> | 2021-02-02 13:36:58 +0100 |
---|---|---|
committer | Will Deacon <will@kernel.org> | 2021-02-03 21:43:45 +0100 |
commit | 0188a894c390e51475274ece76b4d601782d709e (patch) | |
tree | 79cf592206f63eed00a6b74f88f573ce836cd627 /arch/arm64/Kconfig | |
parent | arm64: vmlinux.ld.S: add assertion for reserved_pg_dir offset (diff) | |
download | linux-0188a894c390e51475274ece76b4d601782d709e.tar.xz linux-0188a894c390e51475274ece76b4d601782d709e.zip |
arm64: vmlinux.ld.S: add assertion for tramp_pg_dir offset
Add TRAMP_SWAPPER_OFFSET and use that instead of hardcoding
the offset between swapper_pg_dir and tramp_pg_dir.
Then use TRAMP_SWAPPER_OFFSET to assert that the offset is
correct at link time.
Signed-off-by: Joey Gouly <joey.gouly@arm.com>
Reviewed-by: Mark Rutland <mark.rutland@arm.com>
Tested-by: Mark Rutland <mark.rutland@arm.com>
Link: https://lore.kernel.org/r/20210202123658.22308-3-joey.gouly@arm.com
Signed-off-by: Will Deacon <will@kernel.org>
Diffstat (limited to 'arch/arm64/Kconfig')
0 files changed, 0 insertions, 0 deletions