MIPS: Avoid potential hazard on Context register
authorRalf Baechle <ralf@linux-mips.org>
Tue, 13 Oct 2009 21:23:28 +0000 (23:23 +0200)
committerRalf Baechle <ralf@linux-mips.org>
Mon, 2 Nov 2009 11:00:07 +0000 (12:00 +0100)
commitc2ea1d56eaf084c66177eb5658ff4065e79b36ea
treefcc0a634a194dba00f730b54bdf6cf5f0f3b9de1
parentcd847b7857b835f9730d6fc93c3f423fcacc50f7
MIPS: Avoid potential hazard on Context register

set_saved_sp reads Context register. Avoid reading stale value from
earlier incomplete write.

Issue found and fixed for head.S by Chris Dearman <chris@mips.com>.

Signed-off-by: Chris Dearman <chris@mips.com>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/include/asm/mmu_context.h
arch/mips/kernel/head.S