diff options
author | Rob Herring <rob.herring@calxeda.com> | 2013-04-08 20:23:33 -0500 |
---|---|---|
committer | Tony Luck <tony.luck@intel.com> | 2013-06-14 15:54:21 -0700 |
commit | 0405a5cec3406f19e69da07c8111a6bf1088ac29 (patch) | |
tree | e56d8e5f9d16c799a48da12947b907d0e76d7121 /include | |
parent | 77418921649427577143667fcf00ccb8a809762a (diff) |
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 'include')
0 files changed, 0 insertions, 0 deletions