diff options
author | 2024-10-30 06:35:52 +0000 | |
---|---|---|
committer | 2024-10-30 11:06:45 +0100 | |
commit | 4b18ef8491b06e353e8801705092cc292582cb7a (patch) | |
tree | 12be26f1f31affe40c61316ccec986e3f0c6ffad /scripts/gdb/linux/config.py | |
parent | iommu/amd: Reduce domain lock scope in attach device path (diff) | |
download | wireguard-linux-4b18ef8491b06e353e8801705092cc292582cb7a.tar.xz wireguard-linux-4b18ef8491b06e353e8801705092cc292582cb7a.zip |
iommu/amd: Rearrange attach device code
attach_device() is just holding lock and calling do_attach(). There is
not need to have another function. Just move do_attach() code to
attach_device(). Similarly move do_detach() code to detach_device().
Signed-off-by: Vasant Hegde <vasant.hegde@amd.com>
Reviewed-by: Joerg Roedel <jroedel@suse.de>
Reviewed-by: Jason Gunthorpe <jgg@nvidia.com>
Link: https://lore.kernel.org/r/20241030063556.6104-9-vasant.hegde@amd.com
Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'scripts/gdb/linux/config.py')
0 files changed, 0 insertions, 0 deletions