summaryrefslogtreecommitdiff
path: root/include/soc/nps
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2018-04-04 12:56:59 +0200
committerJoerg Roedel <jroedel@suse.de>2018-05-03 16:31:57 +0200
commit94c793accacdb0d33c1df66f3b324eec96d26e58 (patch)
treec570d4f5aeb29ecf6cfefc26b81fbe304581115a /include/soc/nps
parentaa7528fe3576d11f4a10237178a723a1f080a547 (diff)
iommu/amd: Hide unused iommu_table_lock
The newly introduced lock is only used when CONFIG_IRQ_REMAP is enabled: drivers/iommu/amd_iommu.c:86:24: error: 'iommu_table_lock' defined but not used [-Werror=unused-variable] static DEFINE_SPINLOCK(iommu_table_lock); This moves the definition next to the user, within the #ifdef protected section of the file. Fixes: ea6166f4b83e ("iommu/amd: Split irq_lookup_table out of the amd_iommu_devtable_lock") Signed-off-by: Arnd Bergmann <arnd@arndb.de> Acked-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de> Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'include/soc/nps')
0 files changed, 0 insertions, 0 deletions