diff options
author | Laura Abbott <lauraa@codeaurora.org> | 2014-11-26 00:14:16 +0000 |
---|---|---|
committer | Will Deacon <will.deacon@arm.com> | 2014-11-26 11:32:17 +0000 |
commit | dab78b6dcb2bfc90038f35ada826844273dde4d6 (patch) | |
tree | 3d455e8b142703be84c3a8b4bce0bb5c8a4c8566 /arch/arm64/Kconfig.debug | |
parent | c9453a3ab1a39230a18b3db1d677bbb2bd782baa (diff) | |
download | op-kernel-dev-dab78b6dcb2bfc90038f35ada826844273dde4d6.zip op-kernel-dev-dab78b6dcb2bfc90038f35ada826844273dde4d6.tar.gz |
arm64: Add FIX_HOLE to permanent fixed addresses
Every other architecture with permanent fixed addresses has
FIX_HOLE as the first entry. This seems to be designed as a
debugging aid but there are a couple of side effects of not
having FIX_HOLE:
- If the first fixed address is 0, fix_to_virt -> virt_to_fix
triggers a BUG_ON for the virtual address being equal to
FIXADDR_TOP
- fix_to_virt may return a value outside of FIXADDR_START
and FIXADDR_TOP which may look like a bug to a developer.
Match up with other architectures and make everything clearer
by adding FIX_HOLE.
Signed-off-by: Laura Abbott <lauraa@codeaurora.org>
Signed-off-by: Will Deacon <will.deacon@arm.com>
Diffstat (limited to 'arch/arm64/Kconfig.debug')
0 files changed, 0 insertions, 0 deletions