diff options
author | Min-Hua Chen <orca.chen@gmail.com> | 2014-10-08 17:45:59 +0200 |
---|---|---|
committer | Catalin Marinas <catalin.marinas@arm.com> | 2014-11-13 15:58:45 +0100 |
commit | 287e8c6a41749e5affd6a4faa6a6102ba1594406 (patch) | |
tree | 6d2e729965a2cc2b9b957a177054ddeeca913d00 /arch/arm64/mm/mmu.c | |
parent | arm64: efi: Fix stub cache maintenance (diff) | |
download | linux-287e8c6a41749e5affd6a4faa6a6102ba1594406.tar.xz linux-287e8c6a41749e5affd6a4faa6a6102ba1594406.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: Catalin Marinas <catalin.marinas@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; |