• David S. Miller's avatar
    [SPARC64]: Add infrastructure for dynamic TSB sizing. · 98c5584c
    David S. Miller authored
    This also cleans up tsb_context_switch().  The assembler
    routine is now __tsb_context_switch() and the former is
    an inline function that picks out the bits from the mm_struct
    and passes it into the assembler code as arguments.
    
    setup_tsb_parms() computes the locked TLB entry to map the
    TSB.  Later when we support using the physical address quad
    load instructions of Cheetah+ and later, we'll simply use
    the physical address for the TSB register value and set
    the map virtual and PTE both to zero.
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    98c5584c
process.c 22.7 KB