git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
763d2d8
)
powerpc/mm: Fix build break with STRICT_MM_TYPECHECKS && DEBUG_PAGEALLOC
author
Michael Ellerman
<mpe@ellerman.id.au>
Mon, 1 Jun 2015 11:11:35 +0000
(21:11 +1000)
committer
Michael Ellerman
<mpe@ellerman.id.au>
Tue, 2 Jun 2015 03:24:48 +0000
(13:24 +1000)
If both STRICT_MM_TYPECHECKS and DEBUG_PAGEALLOC are enabled, the code
in kernel_map_linear_page() is built, and so we fail with:
arch/powerpc/mm/hash_utils_64.c:1478:2:
error: incompatible type for argument 1 of 'htab_convert_pte_flags'
Fix it by using pgprot_val().
Reported-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/mm/hash_utils_64.c
patch
|
blob
|
history
diff --cc
arch/powerpc/mm/hash_utils_64.c
Simple merge