diff options
author | Vasant Hegde <vasant.hegde@amd.com> | 2023-09-21 12:21:37 +0300 |
---|---|---|
committer | Joerg Roedel <jroedel@suse.de> | 2023-09-25 13:39:01 +0300 |
commit | bac05772fa9912195b2029ab757fe86773c7ff00 (patch) | |
tree | 7158b3cb89b5b34e5edd397f57c79ebe7650d905 /tools/perf/scripts/python/syscall-counts.py | |
parent | ba7d263b7749f8e7f227d7357963632711b5c6ea (diff) | |
download | linux-bac05772fa9912195b2029ab757fe86773c7ff00.tar.xz |
iommu/amd: Refactor protection domain allocation code
To replace if-else with switch-case statement due to increasing number of
domain types.
No functional changes intended.
Signed-off-by: Vasant Hegde <vasant.hegde@amd.com>
Reviewed-by: Jason Gunthorpe <jgg@nvidia.com>
Reviewed-by: Jerry Snitselaar <jsnitsel@redhat.com>
Link: https://lore.kernel.org/r/20230921092147.5930-5-vasant.hegde@amd.com
Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions