]> git.baikalelectronics.ru Git - 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)
commit59cd3b123cf71d2e74c8ade2fa5685c9ca38b867
tree03bde08104ea5c29edcaafc11576eb5594a7426c
parent37ec841d079a8b7598d29ecf0b159fdf19070962
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