summaryrefslogtreecommitdiff
path: root/rust/helpers/processor.c
diff options
context:
space:
mode:
authorShrikanth Hegde <sshegde@linux.ibm.com>2025-05-05 10:53:31 +0300
committerMadhavan Srinivasan <maddy@linux.ibm.com>2025-06-23 07:27:11 +0300
commit37989b532bc2cb1912fdcfe6d381a10c8452068a (patch)
tree5ebc1c0e8290e86edd48a62cd8d77693b1b77cde /rust/helpers/processor.c
parent56534636c3c376a6868764eefd2a44b25f64fc0b (diff)
downloadlinux-37989b532bc2cb1912fdcfe6d381a10c8452068a.tar.xz
powerpc: book3s: vas: use lock guard for mutex
use lock guards for scope based resource management of mutex. This would make the code simpler and easier to maintain. More details on lock guards can be found at https://lore.kernel.org/all/20230612093537.614161713@infradead.org/T/#u This shows the use of both guard and scoped_guard Reviewed-by: Srikar Dronamraju <srikar@linux.ibm.com> Signed-off-by: Shrikanth Hegde <sshegde@linux.ibm.com> Tested-by: Venkat Rao Bagalkote <venkat88@linux.ibm.com> Signed-off-by: Madhavan Srinivasan <maddy@linux.ibm.com> Link: https://patch.msgid.link/20250505075333.184463-5-sshegde@linux.ibm.com
Diffstat (limited to 'rust/helpers/processor.c')
0 files changed, 0 insertions, 0 deletions