arm64: hibernate: move page handling function to new trans_pgd.c
authorPavel Tatashin <pasha.tatashin@soleen.com>
Mon, 25 Jan 2021 19:19:08 +0000 (14:19 -0500)
committerWill Deacon <will@kernel.org>
Wed, 27 Jan 2021 15:41:11 +0000 (15:41 +0000)
commit072e3d96a79a5876691c6532f91f930157144a2a
treec531e7e35a97334737b047b4727be1c6586f92a3
parent41f67d40a31d6b007d372461f171875fd940f17d
arm64: hibernate: move page handling function to new trans_pgd.c

Now, that we abstracted the required functions move them to a new home.
Later, we will generalize these function in order to be useful outside
of hibernation.

Signed-off-by: Pavel Tatashin <pasha.tatashin@soleen.com>
Reviewed-by: James Morse <james.morse@arm.com>
Link: https://lore.kernel.org/r/20210125191923.1060122-4-pasha.tatashin@soleen.com
Signed-off-by: Will Deacon <will@kernel.org>
arch/arm64/Kconfig
arch/arm64/include/asm/trans_pgd.h [new file with mode: 0644]
arch/arm64/kernel/hibernate.c
arch/arm64/mm/Makefile
arch/arm64/mm/trans_pgd.c [new file with mode: 0644]