]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
arm64: kexec: Remove duplicate allocation for trans_pgd
authorWang Wensheng <wsw9603@163.com>
Sun, 5 Apr 2026 11:42:31 +0000 (19:42 +0800)
committerCatalin Marinas <catalin.marinas@arm.com>
Wed, 8 Apr 2026 16:49:08 +0000 (17:49 +0100)
commitee020bf6f14094c9ae434bb37e6957a1fdad513c
tree83510476af6c665232a5e34c738117afd04b96c9
parent5e0deb0a6b4e07825c3b1c4317c5e413421266ed
arm64: kexec: Remove duplicate allocation for trans_pgd

trans_pgd would be allocated in trans_pgd_create_copy(), so remove the
duplicate allocation before calling trans_pgd_create_copy().

Fixes: 3744b5280e67 ("arm64: kexec: install a copy of the linear-map")
Signed-off-by: Wang Wensheng <wsw9603@163.com>
Reviewed-by: Pasha Tatashin <pasha.tatashin@soleen.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
arch/arm64/kernel/machine_kexec.c