]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitaf643dbcf13300207978072a9a5887ee753a794a
treefcc0a634a194dba00f730b54bdf6cf5f0f3b9de1
parentef4573306d05c4e5a165d7ed335d93495c57f26f
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