• Maciej W. Rozycki's avatar
    [MIPS] c-r3k: Implement flush_cache_range() · 21b2aeca
    Maciej W. Rozycki authored
    Contrary to the belief of some, the R3000 and related processors did have
    caches, both a data and an instruction cache.  Here is an implementation
    of r3k_flush_cache_page(), which is the processor-specific back-end for
    flush_cache_range(), done according to the spec in
    Documentation/cachetlb.txt.
    
    While at it, remove an unused local function: get_phys_page(), do some
    trivial formatting fixes and modernise debugging facilities.
    Signed-off-by: default avatarMaciej W. Rozycki <macro@linux-mips.org>
    Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
    21b2aeca
c-r3k.c 7.78 KB