Skip to content
Commit 894e1a03 authored by Pavel Tatashin's avatar Pavel Tatashin Committed by James Morse
Browse files

arm64: trans_pgd: make trans_pgd_map_page generic



kexec is going to use a different allocator, so make
trans_pgd_map_page to accept allocator as an argument, and also
kexec is going to use a different map protection, so also pass
it via argument.

Reviewed-by: default avatarMatthias Brugger <mbrugger@suse.com>
Signed-off-by: default avatarPavel Tatashin <pasha.tatashin@soleen.com>
[ made the struct with function pointer const, dropped the comment ]
Signed-off-by: James Morse's avatarJames Morse <james.morse@arm.com>
parent 993f84bd
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment