From: Rob Herring Date: Tue, 9 Apr 2013 01:23:33 +0000 (-0500) Subject: pstore/ram: avoid atomic accesses for ioremapped regions X-Git-Tag: omap-for-v3.11/fixes-for-merge-window~34^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0405a5cec3406f19e69da07c8111a6bf1088ac29;p=pandora-kernel.git pstore/ram: avoid atomic accesses for ioremapped regions For persistent RAM outside of main memory, the memory may have limitations on supported accesses. For internal RAM on highbank platform exclusive accesses are not supported and will hang the system. So atomic_cmpxchg cannot be used. This commit uses spinlock protection for buffer size and start updates on ioremapped regions instead. Signed-off-by: Rob Herring Acked-by: Anton Vorontsov Signed-off-by: Tony Luck --- Reading git-diff-tree failed