mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-01-18 10:56:14 +00:00
arm64: mm: use phys_addr_t instead of unsigned long in __map_memblock
Cosmetic change to use phys_addr_t instead of unsigned long for the return value of __pa_symbol(). Acked-by: Catalin Marinas <catalin.marinas@arm.com> Acked-by: Mark Rutland <mark.rutland@arm.com> Signed-off-by: Miles Chen <miles.chen@mediatek.com> Signed-off-by: Will Deacon <will.deacon@arm.com>
This commit is contained in:
parent
f92f5ce01e
commit
eac8017f0c
@ -360,8 +360,8 @@ static void create_mapping_late(phys_addr_t phys, unsigned long virt,
|
|||||||
|
|
||||||
static void __init __map_memblock(pgd_t *pgd, phys_addr_t start, phys_addr_t end)
|
static void __init __map_memblock(pgd_t *pgd, phys_addr_t start, phys_addr_t end)
|
||||||
{
|
{
|
||||||
unsigned long kernel_start = __pa_symbol(_text);
|
phys_addr_t kernel_start = __pa_symbol(_text);
|
||||||
unsigned long kernel_end = __pa_symbol(__init_begin);
|
phys_addr_t kernel_end = __pa_symbol(__init_begin);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Take care not to create a writable alias for the
|
* Take care not to create a writable alias for the
|
||||||
|
Loading…
x
Reference in New Issue
Block a user