diff options
author | Laura Abbott <[email protected]> | 2014-11-21 21:50:39 +0000 |
---|---|---|
committer | Will Deacon <[email protected]> | 2014-11-25 15:56:44 +0000 |
commit | ac2dec5f6c27a581f8571da605d9ba04df18330d (patch) | |
tree | 82360a06c38a70370d48a777520c5ea4245064bf /lib/memory-notifier-error-inject.c | |
parent | fcff588633e848aa728a4437ef96d437299ba03d (diff) |
arm64: Switch to adrp for loading the stub vectors
The hyp stub vectors are currently loaded using adr. This
instruction has a +/- 1MB range for the loading address. If
the alignment for sections is changed the address may be more
than 1MB away, resulting in reclocation errors. Switch to using
adrp for getting the address to ensure we aren't affected by the
location of the __hyp_stub_vectors.
Acked-by: Ard Biesheuvel <[email protected]>
Acked-by: Marc Zyngier <[email protected]>
Tested-by: Mark Rutland <[email protected]>
Tested-by: Kees Cook <[email protected]>
Signed-off-by: Laura Abbott <[email protected]>
Signed-off-by: Will Deacon <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions