From: Wei Yongjun Date: Thu, 28 Jul 2016 02:09:53 +0000 (+0000) Subject: iommu/amd: Fix non static symbol warning X-Git-Tag: v4.9-rc1~44^2~8 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=a5604f260e68a45510ef773ce36ce301d1f6d102;p=karo-tx-linux.git iommu/amd: Fix non static symbol warning Fixes the following sparse warning: drivers/iommu/amd_iommu.c:106:1: warning: symbol '__pcpu_scope_flush_queue' was not declared. Should it be static? Signed-off-by: Wei Yongjun Signed-off-by: Joerg Roedel --- diff --git a/drivers/iommu/amd_iommu.c b/drivers/iommu/amd_iommu.c index 96de97a46079..bf5ec0c8f95e 100644 --- a/drivers/iommu/amd_iommu.c +++ b/drivers/iommu/amd_iommu.c @@ -103,7 +103,7 @@ struct flush_queue { struct flush_queue_entry *entries; }; -DEFINE_PER_CPU(struct flush_queue, flush_queue); +static DEFINE_PER_CPU(struct flush_queue, flush_queue); static atomic_t queue_timer_on; static struct timer_list queue_timer;