aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/samples/kobject/ssh:/git@git.zx2c4.com
diff options
context:
space:
mode:
authorBart Van Assche <bvanassche@acm.org>2026-03-13 10:15:08 -0700
committerPeter Zijlstra <peterz@infradead.org>2026-03-16 13:16:50 +0100
commitc4d3b8c77d85082d32250c505beb1d9e46ee47ee (patch)
tree487b4933dad5545abc3aa383c595390a0d7e9328 /samples/kobject/ssh:/git@git.zx2c4.com
parentlocking: Fix rwlock support in <linux/spinlock_up.h> (diff)
locking: Add lock context support in do_raw_{read,write}_trylock()
Convert do_raw_{read,write}_trylock() from macros into inline functions and annotate these inline functions with __cond_acquires_shared() or __cond_acquires() as appropriate. This change is necessary to build kernel drivers or subsystems that use rwlock synchronization objects with lock context analysis enabled. The return type 'int' matches the return type for CONFIG_DEBUG_SPINLOCK=y. Signed-off-by: Bart Van Assche <bvanassche@acm.org> Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Link: https://patch.msgid.link/20260313171510.230998-3-bvanassche@acm.org
Diffstat (limited to 'samples/kobject/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions