https://github.com/torvalds/linux
Revision 7c223098212957a1ecd8768e8e747ae2cf88e880 authored by David Laight on 29 December 2023, 20:53:49 UTC, committed by Linus Torvalds on 30 December 2023, 18:25:51 UTC
struct optimistic_spin_node is private to the implementation.
Move it into the C file to ensure nothing is accessing it.

Signed-off-by: David Laight <david.laight@aculab.com>
Acked-by: Waiman Long <longman@redhat.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
1 parent f016f75
Raw File
Tip revision: 7c223098212957a1ecd8768e8e747ae2cf88e880 authored by David Laight on 29 December 2023, 20:53:49 UTC
locking/osq_lock: Move the definition of optimistic_spin_node into osq_lock.c
Tip revision: 7c22309
.rustfmt.toml
edition = "2021"
newline_style = "Unix"

# Unstable options that help catching some mistakes in formatting and that we may want to enable
# when they become stable.
#
# They are kept here since they are useful to run from time to time.
#format_code_in_doc_comments = true
#reorder_impl_items = true
#comment_width = 100
#wrap_comments = true
#normalize_comments = true
back to top