[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [PATCH] VT-d: get rid of hardcode in iommu_flush_cache_entry
Currently iommu_flush_cache_entry uses a fixed size 8 bytes to flush cache. But it also needs to flush caches with different sizes, e.g. struct root_entry is 16 bytes. This patch fixes the hardcode by using a parameter "size" to flush caches with different sizes. Signed-off-by: Weidong Han <weidong.han@xxxxxxxxx> Attachment:
fix-hardcode.patch _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |