mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-09-23 01:37:44 +00:00
HV:vtd:cap change the macro to the inline function
Function like macro changed to be inline function to limit the return type and parameter type. Signed-off-by: Huihuang Shi <huihuang.shi@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>
This commit is contained in:
@@ -754,7 +754,7 @@ static void fault_record_analysis(__unused uint64_t low, uint64_t high)
|
||||
DMA_FRCD_UP_SID(high) & 0x7UL,
|
||||
low);
|
||||
#if DBG_IOMMU
|
||||
if (iommu_ecap_dt(dmar_uint->ecap)) {
|
||||
if (iommu_ecap_dt(dmar_uint->ecap)i != 0U) {
|
||||
pr_info("Address Type: 0x%x",
|
||||
DMA_FRCD_UP_AT(high));
|
||||
}
|
||||
|
Reference in New Issue
Block a user