]> git.baikalelectronics.ru Git - kernel.git/commit
iommu-common: rename iommu_pool_hash to iommu_hash_common
authorSowmini Varadhan <sowmini.varadhan@oracle.com>
Sun, 19 Apr 2015 17:13:31 +0000 (13:13 -0400)
committerDavid S. Miller <davem@davemloft.net>
Mon, 20 Apr 2015 18:09:55 +0000 (14:09 -0400)
commitd416be06b527cc29339bf074c425fb4070be5cba
tree59973233562e6a2366e65e8b6ac06d59d06aef07
parenta2809fe2489a891fefbe5d978e42d6199bd4d00d
iommu-common: rename iommu_pool_hash to iommu_hash_common

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 catching this, and helping to test the fix.

Signed-off-by: Sowmini Varadhan <sowmini.varadhan@oracle.com>
Tested-by: Guenter Roeck <linux@roeck-us.net>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
lib/iommu-common.c