diff options
author | Pavel Tatashin <pasha.tatashin@soleen.com> | 2019-12-04 16:59:21 +0100 |
---|---|---|
committer | Will Deacon <will@kernel.org> | 2020-01-08 17:32:55 +0100 |
commit | 13373f0e658013b0412ee58ce8131de390ff1c44 (patch) | |
tree | 45c3d548448ef97ca4d8f591da00590e0ad38f0d /arch/csky | |
parent | arm64: hibernate: remove gotos as they are not needed (diff) | |
download | linux-13373f0e658013b0412ee58ce8131de390ff1c44.tar.xz linux-13373f0e658013b0412ee58ce8131de390ff1c44.zip |
arm64: hibernate: rename dst to page in create_safe_exec_page
create_safe_exec_page() allocates a safe page and maps it at a
specific location, also this function returns the physical address
of newly allocated page.
The destination VA, and PA are specified in arguments: dst_addr,
phys_dst_addr
However, within the function it uses "dst" which has unsigned long
type, but is actually a pointers in the current virtual space. This
is confusing to read.
Rename dst to more appropriate page (page that is created), and also
change its time to "void *"
Signed-off-by: Pavel Tatashin <pasha.tatashin@soleen.com>
Reviewed-by: James Morse <james.morse@arm.com>
Signed-off-by: Will Deacon <will@kernel.org>
Diffstat (limited to 'arch/csky')
0 files changed, 0 insertions, 0 deletions