summaryrefslogtreecommitdiff
path: root/arch/sparc/kernel/visemul.c
diff options
context:
space:
mode:
authorLizhi Hou <lizhi.hou@amd.com>2025-08-15 10:16:34 -0700
committerLizhi Hou <lizhi.hou@amd.com>2025-08-18 08:35:57 -0700
commitc8cea4371e5eca30cda8660aabb337747dabc51d (patch)
tree2f861806470b005cb947ec5338c3c35c376fec39 /arch/sparc/kernel/visemul.c
parentcb640b2ca54617f4a9d4d6efd5ff2afd6be11f19 (diff)
accel/amdxdna: Add a function to walk hardware contextsHEADdrm-misc-next
Walking hardware contexts created by a process is duplicated in multiple spots. Add a function, amdxdna_hwctx_walk(), and replace all spots. hwctx_srcu and dev_lock are good enough to protect hardware context list. Remove hwctx_lock. Reviewed-by: Mario Limonciello <mario.limonciello@amd.com> Signed-off-by: Lizhi Hou <lizhi.hou@amd.com> Link: https://lore.kernel.org/r/20250815171634.3417487-1-lizhi.hou@amd.com
Diffstat (limited to 'arch/sparc/kernel/visemul.c')
0 files changed, 0 insertions, 0 deletions