commit | 09f3f326cda6b6e2dfc6471c7f8ac77696c87419 | [log] [tgz] |
---|---|---|
author | Michael Ellerman <mpe@ellerman.id.au> | Mon Jun 01 21:11:35 2015 +1000 |
committer | Michael Ellerman <mpe@ellerman.id.au> | Tue Jun 02 13:24:48 2015 +1000 |
tree | 44543d2520b16ac3ba0d592433d565f57452aa87 | |
parent | 763d2d8df1ee2b92ff09cd58f6034021e2cabf6d [diff] |
powerpc/mm: Fix build break with STRICT_MM_TYPECHECKS && DEBUG_PAGEALLOC 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>