• Paul Burton's avatar
    MIPS: Handle highmem pages in __update_cache · f4281bba
    Paul Burton authored
    The following patch will expose __update_cache to highmem pages. Handle
    them by mapping them in for the duration of the cache maintenance, just
    like in __flush_dcache_page. The code for that isn't shared because we
    need the page address in __update_cache so sharing became messy. Given
    that the entirity is an extra 5 lines, just duplicate it.
    Signed-off-by: default avatarPaul Burton <paul.burton@imgtec.com>
    Cc: Lars Persson <lars.persson@axis.com>
    Cc: Andrew Morton <akpm@linux-foundation.org>
    Cc: Jerome Marchand <jmarchan@redhat.com>
    Cc: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
    Cc: linux-mips@linux-mips.org
    Cc: linux-kernel@vger.kernel.org
    Cc: stable <stable@vger.kernel.org> # v4.1+
    Patchwork: https://patchwork.linux-mips.org/patch/12721/Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
    f4281bba
cache.c 7.3 KB