summaryrefslogtreecommitdiff
path: root/fs/pstore/ram.c
diff options
context:
space:
mode:
authorRob Herring <rob.herring@calxeda.com>2013-04-09 05:23:33 +0400
committerTony Luck <tony.luck@intel.com>2013-06-15 02:54:21 +0400
commit0405a5cec3406f19e69da07c8111a6bf1088ac29 (patch)
treee56d8e5f9d16c799a48da12947b907d0e76d7121 /fs/pstore/ram.c
parent77418921649427577143667fcf00ccb8a809762a (diff)
downloadlinux-0405a5cec3406f19e69da07c8111a6bf1088ac29.tar.xz
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 <rob.herring@calxeda.com> Acked-by: Anton Vorontsov <anton@enomsg.org> Signed-off-by: Tony Luck <tony.luck@intel.com>
Diffstat (limited to 'fs/pstore/ram.c')
0 files changed, 0 insertions, 0 deletions