• Paul Mundt's avatar
    sh: Add kmap_coherent()/kunmap_coherent() interface for SH-4. · 8cf1a743
    Paul Mundt authored
    This wires up kmap_coherent() and kunmap_coherent() on SH-4, and
    moves away from the p3map_mutex and reserved P3 space, opting to
    use fixmaps for colouring instead.
    
    The copy_user_page()/clear_user_page() implementations are moved
    to this, which fixes the nasty blowups with spinlock debugging
    as a result of having some of these calls nested under the page
    table lock.
    Signed-off-by: default avatarPaul Mundt <lethal@linux-sh.org>
    8cf1a743
fixmap.h 3.34 KB