Re: [PATCH 2/2] iommu-common: rename iommu_pool_hash to iommu_hash_common

2015-04-19 Thread Guenter Roeck
On 04/19/2015 10:13 AM, Sowmini Varadhan wrote: When CONFIG_DEBUG_FORCE_WEAK_PER_CPU is set, the DEFINE_PER_CPU_SECTION macro will define an extern __pcpu_unique_##name variable that could conflict with the same definition in powerpc at this time. Avoid that conflict by renaming iommu_pool_hash i

[PATCH 2/2] iommu-common: rename iommu_pool_hash to iommu_hash_common

2015-04-19 Thread Sowmini Varadhan
When CONFIG_DEBUG_FORCE_WEAK_PER_CPU is set, the DEFINE_PER_CPU_SECTION macro will define an extern __pcpu_unique_##name variable that could conflict with the same definition in powerpc at this time. Avoid that conflict by renaming iommu_pool_hash in iommu-common.c Thanks to Guenter Roeck for catc