drivers/interrupt_controller: Move VT-D to new cache API

Just a left-over from previous API.

Signed-off-by: Tomasz Bursztyka <tomasz.bursztyka@linux.intel.com>
This commit is contained in:
Tomasz Bursztyka 2023-02-03 14:10:38 +01:00 committed by Carles Cufí
parent 3172748d10
commit d5a6011589

View file

@ -86,8 +86,8 @@ static void vtd_flush_irte_from_cache(const struct device *dev,
struct vtd_ictl_data *data = dev->data;
if (!data->pwc) {
sys_cache_data_range(&data->irte[irte_idx],
sizeof(union vtd_irte), K_CACHE_WB);
cache_data_flush_range(&data->irte[irte_idx],
sizeof(union vtd_irte));
}
}