projects
/
platform
/
kernel
/
linux-exynos.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
|
history
diff --git
a/arch/arm64/mm/mmu.c
b/arch/arm64/mm/mmu.c
index
82d3435
..
a4ede4e
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);
}