summaryrefslogtreecommitdiffstats
path: root/net/8021q
diff options
context:
space:
mode:
authorRob Herring <rob.herring@calxeda.com>2013-04-08 20:23:33 -0500
committerTony Luck <tony.luck@intel.com>2013-06-14 15:54:21 -0700
commit0405a5cec3406f19e69da07c8111a6bf1088ac29 (patch)
treee56d8e5f9d16c799a48da12947b907d0e76d7121 /net/8021q
parent77418921649427577143667fcf00ccb8a809762a (diff)
downloadop-kernel-dev-0405a5cec3406f19e69da07c8111a6bf1088ac29.zip
op-kernel-dev-0405a5cec3406f19e69da07c8111a6bf1088ac29.tar.gz
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 'net/8021q')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud