summaryrefslogtreecommitdiff
path: root/fs/readdir.c
diff options
context:
space:
mode:
authorRob Herring <rob.herring@calxeda.com>2013-04-08 20:23:33 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-02-05 22:35:40 -0800
commit681f57171b9614a11695facba99ed299f7f33dc7 (patch)
tree5693329d094f2d84b4cfacc8ec30fe4d4fc375d3 /fs/readdir.c
parent979d65e705225f8780c09ceb9b4cbc2cbdc36c6e (diff)
pstore/ram: avoid atomic accesses for ioremapped regions
commit 0405a5cec3406f19e69da07c8111a6bf1088ac29 upstream. 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> [hkp: Backported to 3.10: adjust context] Signed-off-by: HuKeping <hukeping@huawei.com>
Diffstat (limited to 'fs/readdir.c')
0 files changed, 0 insertions, 0 deletions