File tree Expand file tree Collapse file tree 1 file changed +4
-14
lines changed Expand file tree Collapse file tree 1 file changed +4
-14
lines changed Original file line number Diff line number Diff line change @@ -1591,15 +1591,7 @@ static void domain_flush_np_cache(struct protection_domain *domain,
1591
1591
/*
1592
1592
* This function flushes the DTEs for all devices in domain
1593
1593
*/
1594
- static void domain_flush_devices (struct protection_domain * domain )
1595
- {
1596
- struct iommu_dev_data * dev_data ;
1597
-
1598
- list_for_each_entry (dev_data , & domain -> dev_list , list )
1599
- device_flush_dte (dev_data );
1600
- }
1601
-
1602
- static void update_device_table (struct protection_domain * domain )
1594
+ void amd_iommu_update_and_flush_device_table (struct protection_domain * domain )
1603
1595
{
1604
1596
struct iommu_dev_data * dev_data ;
1605
1597
@@ -1609,12 +1601,10 @@ static void update_device_table(struct protection_domain *domain)
1609
1601
set_dte_entry (iommu , dev_data );
1610
1602
clone_aliases (iommu , dev_data -> dev );
1611
1603
}
1612
- }
1613
1604
1614
- void amd_iommu_update_and_flush_device_table (struct protection_domain * domain )
1615
- {
1616
- update_device_table (domain );
1617
- domain_flush_devices (domain );
1605
+ list_for_each_entry (dev_data , & domain -> dev_list , list )
1606
+ device_flush_dte (dev_data );
1607
+
1618
1608
domain_flush_complete (domain );
1619
1609
}
1620
1610
You can’t perform that action at this time.
0 commit comments