From: David Daney Date: Mon, 5 Jan 2009 23:29:58 +0000 (-0800) Subject: MIPS: Read watch registers with interrupts disabled. X-Git-Tag: v2.6.29-rc4~84^2~16 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8bc6d05b481aa7dc79c81b8ffac0da755e149643;p=pandora-kernel.git MIPS: Read watch registers with interrupts disabled. If a context switch occurred between the watch exception and reading the watch registers, it would be possible for the new process to corrupt their state. Enabling interrupts only after the watch registers are read avoids this race. Signed-off-by: David Daney Signed-off-by: Ralf Baechle --- Reading git-diff-tree failed