diff options
author | Lu Baolu <[email protected]> | 2018-07-14 15:46:58 +0800 |
---|---|---|
committer | Joerg Roedel <[email protected]> | 2018-07-20 14:44:24 +0200 |
commit | 85319dcc8955f8f31828dc8bafff29f6aa011d93 (patch) | |
tree | 83b5de3dfe789b170a7e6b4f5fc377f89c60b028 /lib/memory-notifier-error-inject.c | |
parent | 9ddbfb42138d84bb326023616c40a3dc30ea2837 (diff) |
iommu/vt-d: Add for_each_device_domain() helper
This adds a helper named for_each_device_domain() to iterate
over the elements in device_domain_list and invoke a callback
against each element. This allows to search the device_domain
list in other source files.
Cc: Ashok Raj <[email protected]>
Cc: Jacob Pan <[email protected]>
Cc: Kevin Tian <[email protected]>
Cc: Liu Yi L <[email protected]>
Signed-off-by: Lu Baolu <[email protected]>
Reviewed-by: Liu Yi L <[email protected]>
Signed-off-by: Joerg Roedel <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions