diff options
author | Min-Hua Chen <orca.chen@gmail.com> | 2014-10-08 16:45:59 +0100 |
---|---|---|
committer | Catalin Marinas <catalin.marinas@arm.com> | 2014-11-13 14:58:45 +0000 |
commit | 287e8c6a41749e5affd6a4faa6a6102ba1594406 (patch) | |
tree | 6d2e729965a2cc2b9b957a177054ddeeca913d00 /arch/arm64 | |
parent | 9b0b26580a753d4d6bdd2b8b4ca9a8f3f2d39065 (diff) |
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: Catalin Marinas <catalin.marinas@arm.com>
Diffstat (limited to 'arch/arm64')
-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 0bf90d26e74..f4f8b500f74 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; |