[MIPS] MT: Fix setting of XTC.
commite707ceb1f1c870dea297dba372834f865b095ce2
authorElizabeth Oldham <beth@mips.com>
Thu, 17 Aug 2006 11:39:21 +0000 (17 12:39 +0100)
committerRalf Baechle <ralf@linux-mips.org>
Mon, 21 Aug 2006 14:21:14 +0000 (21 15:21 +0100)
tree28e23fdc2cbda0ca3cfdafc12a4998886a652099
parent0402702ac70c46fccc1c248c1af4dddb1538b793
[MIPS] MT: Fix setting of XTC.

XTC can only be set if VPA is clear, which it may not be. There is
also the possibility of a back to back c0 register access hazard to
take care of.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
(cherry picked from 26841cd1311df92c9c8345934fc70f31535123c4 commit)
arch/mips/kernel/vpe.c