• David Miller's avatar
    Fix page allocation debugging on sparc64 · e7afe7ad
    David Miller authored
    [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: default avatarDavid S. Miller <davem@davemloft.net>
    Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
    e7afe7ad
ktlb.S 6.04 KB