]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
powerpc: Get USE_STRICT_MM_TYPECHECKS working again
authorDavid Gibson <david@gibson.dropbear.id.au>
Sun, 12 Oct 2008 17:54:24 +0000 (17:54 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Mon, 13 Oct 2008 23:35:27 +0000 (10:35 +1100)
commitf5ea64dcbad89875d130596df14c9b25d994a737
tree03bde08104ea5c29edcaafc11576eb5594a7426c
parentcd301c7ba4bbb5a0ee6ebf13eb4a304f29b13847
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>
arch/powerpc/include/asm/mman.h
arch/powerpc/include/asm/pgtable-ppc32.h
arch/powerpc/include/asm/pgtable-ppc64.h
arch/powerpc/mm/gup.c
arch/powerpc/mm/hash_utils_64.c
arch/powerpc/mm/init_64.c