MIPS: hugetlbfs: Fix hazard between tlb write and pagemask restoration.
authorRalf Baechle <ralf@linux-mips.org>
Tue, 16 Oct 2012 23:01:21 +0000 (01:01 +0200)
committerRalf Baechle <ralf@linux-mips.org>
Tue, 16 Oct 2012 23:01:21 +0000 (01:01 +0200)
commitfb944c9ba3f4838a64929a1926822e987b4e44c0
tree288de3517e82ae560d154c69cea57e98c96d2b51
parent01422ff49135e0b747132686405ea8a58f760997
MIPS: hugetlbfs: Fix hazard between tlb write and pagemask restoration.

On some CPU the write to pagemask might complete before the TLB write
instruction reads from the pagemask register.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/mm/tlb-r4k.c