From: David S. Miller Date: Wed, 1 Feb 2006 02:34:51 +0000 (-0800) Subject: [SPARC64]: Fix race in LOAD_PER_CPU_BASE() X-Git-Tag: v2.6.17-rc1~1184^2~209 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=86b818687d4894063ecd1190e54717a0cce8c009;p=pandora-kernel.git [SPARC64]: Fix race in LOAD_PER_CPU_BASE() Since we use %g5 itself as a temporary, it can get clobbered if we take an interrupt mid-stream and thus cause end up with the final %g5 value too early as a result of rtrap processing. Set %g5 at the very end, atomically, to avoid this problem. Signed-off-by: David S. Miller --- Reading git-diff-tree failed