]> git.baikalelectronics.ru Git - kernel.git/commit
[SPARC64]: Get DEBUG_PAGEALLOC working again.
authorDavid S. Miller <davem@sunset.davemloft.net>
Sat, 17 Mar 2007 00:20:28 +0000 (17:20 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Sat, 17 Mar 2007 00:20:28 +0000 (17:20 -0700)
commitf3efb25d6a4b352b97b5a5fe06f89a8524385c44
treeb0ca2efd2b34e319aeb09c451d89fd1c9dc47ba3
parent3cccd54fa06113d4fff427272681634da458529e
[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>
arch/sparc64/kernel/ktlb.S
arch/sparc64/mm/init.c
include/asm-sparc64/tsb.h