powerpc: Get USE_STRICT_MM_TYPECHECKS working again
The typesafe version of the powerpc pagetable handling (with USE_STRICT_MM_TYPECHECKS defined) has bitrotted again. This patch makes a bunch of small fixes to get it back to building status. It's still not enabled by default as gcc still generates worse code with it for some reason. Signed-off-by:David Gibson <david@gibson.dropbear.id.au> Signed-off-by:
Benjamin Herrenschmidt <benh@kernel.crashing.org>
Showing
- arch/powerpc/include/asm/mman.h 1 addition, 1 deletionarch/powerpc/include/asm/mman.h
- arch/powerpc/include/asm/pgtable-ppc32.h 9 additions, 8 deletionsarch/powerpc/include/asm/pgtable-ppc32.h
- arch/powerpc/include/asm/pgtable-ppc64.h 6 additions, 6 deletionsarch/powerpc/include/asm/pgtable-ppc64.h
- arch/powerpc/mm/gup.c 4 additions, 3 deletionsarch/powerpc/mm/gup.c
- arch/powerpc/mm/hash_utils_64.c 2 additions, 2 deletionsarch/powerpc/mm/hash_utils_64.c
- arch/powerpc/mm/init_64.c 2 additions, 2 deletionsarch/powerpc/mm/init_64.c
Please register or sign in to comment