[POWERPC] DEBUG_PAGEALLOC for 32-bit
commit88df6e90fa9782dbf44d936e44649afe271e4790
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Thu, 12 Apr 2007 05:30:22 +0000 (12 15:30 +1000)
committerPaul Mackerras <paulus@samba.org>
Thu, 12 Apr 2007 18:09:39 +0000 (13 04:09 +1000)
treed0f4c46731e35e96a381dd3e3138f0276741ca57
parentee4f2ea48674b6c9d91bc854edc51a3e6a7168c4
[POWERPC] DEBUG_PAGEALLOC for 32-bit

Here's an implementation of DEBUG_PAGEALLOC for ppc32. It disables BAT
mapping and is only tested with Hash table based processor though it
shouldn't be too hard to adapt it to others.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
 arch/powerpc/Kconfig.debug       |    9 ++++++
 arch/powerpc/mm/init_32.c        |    4 +++
 arch/powerpc/mm/pgtable_32.c     |   52 +++++++++++++++++++++++++++++++++++++++
 arch/powerpc/mm/ppc_mmu_32.c     |    4 ++-
 include/asm-powerpc/cacheflush.h |    6 ++++
 5 files changed, 74 insertions(+), 1 deletion(-)
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/Kconfig.debug
arch/powerpc/mm/init_32.c
arch/powerpc/mm/pgtable_32.c
arch/powerpc/mm/ppc_mmu_32.c
include/asm-powerpc/cacheflush.h