summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorAndreas Hindborg <a.hindborg@kernel.org>2026-03-03 23:16:59 +0300
committerPeter Zijlstra <peterz@infradead.org>2026-03-08 13:06:50 +0300
commitc49cf341090b53d2afa4dc7c8007ddeefbb3b37f (patch)
treedc9130f447004a2fdce7dd7a070032ba107a91c2 /include/linux
parente2f9c86f33abb89d3e52436018f58e5fb951cc04 (diff)
downloadlinux-c49cf341090b53d2afa4dc7c8007ddeefbb3b37f.tar.xz
rust: sync: atomic: Add fetch_sub()
Add `Atomic::fetch_sub()` with implementation and documentation in line with existing `Atomic::fetch_add()` implementation. Signed-off-by: Andreas Hindborg <a.hindborg@kernel.org> Signed-off-by: Boqun Feng <boqun@kernel.org> Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Reviewed-by: Alice Ryhl <aliceryhl@google.com> Link: https://patch.msgid.link/20260220-atomic-sub-v3-1-e63cbed1d2aa@kernel.org Link: https://patch.msgid.link/20260303201701.12204-12-boqun@kernel.org
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions