projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9b0b265
)
arm64: Fix data type for physical address
author
Min-Hua Chen
<orca.chen@gmail.com>
Wed, 8 Oct 2014 15:45:59 +0000
(16:45 +0100)
committer
Catalin Marinas
<catalin.marinas@arm.com>
Thu, 13 Nov 2014 14:58:45 +0000
(14:58 +0000)
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>
arch/arm64/mm/mmu.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/arm64/mm/mmu.c
b/arch/arm64/mm/mmu.c
index 0bf90d26e7455daf38bc5710a1d01222543cda7f..f4f8b500f74c634ce62d36f25259e26c7826d2b7 100644
(file)
--- 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;