diff options
author | Laura Abbott <lauraa@codeaurora.org> | 2014-11-22 00:50:40 +0300 |
---|---|---|
committer | Will Deacon <will.deacon@arm.com> | 2014-11-25 18:56:44 +0300 |
commit | c3684fbb446501b48dec6677a6a9f61c215053de (patch) | |
tree | a674b3575ef230729fe1b6970f45195a4929ef48 /arch/arm64/mm | |
parent | ac2dec5f6c27a581f8571da605d9ba04df18330d (diff) | |
download | linux-c3684fbb446501b48dec6677a6a9f61c215053de.tar.xz |
arm64: Move cpu_resume into the text section
The function cpu_resume currently lives in the .data section.
There's no reason for it to be there since we can use relative
instructions without a problem. Move a few cpu_resume data
structures out of the assembly file so the .data annotation
can be dropped completely and cpu_resume ends up in the read
only text section.
Reviewed-by: Kees Cook <keescook@chromium.org>
Reviewed-by: Mark Rutland <mark.rutland@arm.com>
Reviewed-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Tested-by: Mark Rutland <mark.rutland@arm.com>
Tested-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Tested-by: Kees Cook <keescook@chromium.org>
Acked-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Signed-off-by: Laura Abbott <lauraa@codeaurora.org>
Signed-off-by: Will Deacon <will.deacon@arm.com>
Diffstat (limited to 'arch/arm64/mm')
0 files changed, 0 insertions, 0 deletions