diff options
author | Min-Hua Chen <orca.chen@gmail.com> | 2014-10-09 17:53:10 +0200 |
---|---|---|
committer | Will Deacon <will.deacon@arm.com> | 2014-11-06 18:25:27 +0100 |
commit | 4ee20980812b5b1800221996ec438689f61e98b4 (patch) | |
tree | 54656cbc3c9acdd858c941886fc64ad3c6db7399 /arch/arm64/mm/mmu.c | |
parent | Merge tag 'for-3.19' of git://git.linaro.org/people/ard.biesheuvel/linux-arm ... (diff) | |
download | linux-4ee20980812b5b1800221996ec438689f61e98b4.tar.xz linux-4ee20980812b5b1800221996ec438689f61e98b4.zip |
arm64: fix data type for physical address
Use phys_addr_t for physical address in alloc_init_pud. Although
phys_addr_t and unsigned long are 64 bit in arm64, it is better
to use phys_addr_t to describe physical addresses.
Signed-off-by: Min-Hua Chen <orca.chen@gmail.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
Diffstat (limited to '')
-rw-r--r-- | arch/arm64/mm/mmu.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm64/mm/mmu.c b/arch/arm64/mm/mmu.c index 0bf90d26e745..f4f8b500f74c 100644 --- a/arch/arm64/mm/mmu.c +++ b/arch/arm64/mm/mmu.c @@ -202,7 +202,7 @@ static void __init alloc_init_pmd(pud_t *pud, unsigned long addr, } static void __init alloc_init_pud(pgd_t *pgd, unsigned long addr, - unsigned long end, unsigned long phys, + unsigned long end, phys_addr_t phys, int map_io) { pud_t *pud; |