summaryrefslogtreecommitdiffstats
path: root/lib/Kconfig.ubsan
diff options
context:
space:
mode:
authorMatthew Wilcox <willy@infradead.org>2017-11-10 15:34:55 -0500
committerMatthew Wilcox <willy@infradead.org>2018-10-21 10:45:58 -0400
commit41aec91f55985e7f14ee75fe2f6e7bcfff0d0fae (patch)
tree4efdedeabd066e15a542b28f21a47731c5323b5b /lib/Kconfig.ubsan
parent58d6ea3085f2e53714810a513c61629f6d2be0a6 (diff)
downloadblackbird-obmc-linux-41aec91f55985e7f14ee75fe2f6e7bcfff0d0fae.tar.gz
blackbird-obmc-linux-41aec91f55985e7f14ee75fe2f6e7bcfff0d0fae.zip
xarray: Add XArray conditional store operations
Like cmpxchg(), xa_cmpxchg will only store to the index if the current entry matches the old entry. It returns the current entry, which is usually more useful than the errno returned by radix_tree_insert(). For the users who really only want the errno, the xa_insert() wrapper provides a more convenient calling convention. Signed-off-by: Matthew Wilcox <willy@infradead.org>
Diffstat (limited to 'lib/Kconfig.ubsan')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud