]> git.baikalelectronics.ru Git - kernel.git/commit
arm64: hibernate: add trans_pgd public functions
authorPavel Tatashin <pasha.tatashin@soleen.com>
Wed, 4 Dec 2019 15:59:23 +0000 (10:59 -0500)
committerWill Deacon <will@kernel.org>
Wed, 8 Jan 2020 16:55:12 +0000 (16:55 +0000)
commitc693a1100bacd49ac9c967656275aacc74f26c4b
treeed546064587dbefb4a00bb5b8db631a48d651346
parente390ed08894b14ebd9407ce474cfc5a5d04664a4
arm64: hibernate: add trans_pgd public functions

trans_pgd_create_copy() and trans_pgd_map_page() are going to be
the basis for new shared code that handles page tables for cases
which are between kernels: kexec, and hibernate.

Note: Eventually, get_safe_page() will be moved into a function pointer
passed via argument, but for now keep it as is.

Signed-off-by: Pavel Tatashin <pasha.tatashin@soleen.com>
Reviewed-by: James Morse <james.morse@arm.com>
[will: Keep these functions static until kexec needs them]
Signed-off-by: Will Deacon <will@kernel.org>
arch/arm64/kernel/hibernate.c