]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
Fix page allocation debugging on sparc64
authorDavid Miller <davem@davemloft.net>
Sat, 17 Mar 2007 01:51:00 +0000 (18:51 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 23 Mar 2007 19:49:26 +0000 (12:49 -0700)
commite7afe7add33b3c467999376ac22d819fa7bcade8
tree8792710adffd6e0479b6b164f1467ebf8437cd4c
parentb5c5ded3e7922dbbb45a2f7183d500514185eab8
Fix page allocation debugging on sparc64

[SPARC64]: Get DEBUG_PAGEALLOC working again.

We have to make sure to use base-pagesize TLB entries even during the
early transition period where we need TLB miss handling but don't have
the kernel page tables setup yet for the linear region.

Also, it is necessary therefore to not use the 4MB TSB for these
translations, and instead use the normal kernel TSB.  This allows us
to also get rid of the 4MB tsb for debug builds which shrinks the
kernel a little bit.

Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
arch/sparc64/kernel/ktlb.S
arch/sparc64/mm/init.c
include/asm-sparc64/tsb.h