MIPS: Invalidate old TLB mappings when updating huge page PTEs.
authorDavid Daney <ddaney@caviumnetworks.com>
Wed, 27 Apr 2011 23:39:28 +0000 (16:39 -0700)
committerRalf Baechle <ralf@linux-mips.org>
Tue, 10 May 2011 17:15:26 +0000 (18:15 +0100)
commit310f1303390758ee7688e350e117a7b50ba5fa05
treee89d9214c3bee93e681e1f4ac5e2d01b45ec7a82
parentf850548ef88e5ff9e40bae9e1a7140bef0653e6b
MIPS: Invalidate old TLB mappings when updating huge page PTEs.

Without this, stale Icache or TLB entries may be used.

Signed-off-by: David Daney <ddaney@caviumnetworks.com>
To: linux-mips@linux-mips.org
https://patchwork.linux-mips.org/patch/2318/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/include/asm/hugetlb.h