From: Chris Metcalf Date: Fri, 30 Mar 2012 19:46:29 +0000 (-0400) Subject: arch/tile: use atomic exchange in arch_write_unlock() X-Git-Tag: v3.4-rc2~7^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ab306cae660e524edbeb8889e4e23d3c97717b9c;p=pandora-kernel.git arch/tile: use atomic exchange in arch_write_unlock() This idiom is used elsewhere when we do an unlock by writing a zero, but I missed it here. Using an atomic operation avoids waiting on the write buffer for the unlocking write to be sent to the home cache. Signed-off-by: Chris Metcalf --- Reading git-diff-tree failed