Re: [PATCH v2 3/6] iommu/amd: Introduce amd_iommu_get_num_iommus()

From: Suravee Suthikulpanit
Date: Tue Feb 09 2016 - 17:24:46 EST


Hi Joerg,

On 01/07/2016 06:15 AM, Joerg Roedel wrote:
On Fri, Jan 01, 2016 at 12:13:37PM -0600, Suravee Suthikulpanit wrote:
+int amd_iommu_get_num_iommus(void)
+{
+ return amd_iommus_present;
+}
+EXPORT_SYMBOL(amd_iommu_get_num_iommus);

Is this export needed? The perf code can't be build as a module.

Otherwise it looks good.


Right. I am fixing this in V3 and sending out shortly.

Thanks,
Suravee