projects
/
GitHub
/
moto-9609
/
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:
2341c02
)
arm64: fix incorrect use of pgprot_t variable
author
Ard Biesheuvel
<ard.biesheuvel@linaro.org>
Tue, 30 Jun 2015 16:04:49 +0000
(18:04 +0200)
committer
Catalin Marinas
<catalin.marinas@arm.com>
Tue, 30 Jun 2015 17:03:37 +0000
(18:03 +0100)
This fixes a build failure under STRICT_MM_TYPECHECKS, by adding
a missing pgprot_val() around a pgport_t reference.
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
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 82d3435bf14ffdf91fccb2e4857a1028c22750b6..a4ede4e2ddd1e7dfdca20594741e9e3d5f7f68dd 100644
(file)
--- a/
arch/arm64/mm/mmu.c
+++ b/
arch/arm64/mm/mmu.c
@@
-117,7
+117,7
@@
void split_pud(pud_t *old_pud, pmd_t *pmd)
int i = 0;
do {
- set_pmd(pmd, __pmd(addr | p
rot
));
+ set_pmd(pmd, __pmd(addr | p
gprot_val(prot)
));
addr += PMD_SIZE;
} while (pmd++, i++, i < PTRS_PER_PMD);
}