]> git.kernelconcepts.de Git - karo-tx-linux.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)
commit7b3372d4c2bced80598771aab8fea87c40ebb52a
tree59973233562e6a2366e65e8b6ac06d59d06aef07
parentb0cc836d306c12462a60e72aae8f6d2318f10817
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