diff options
author | Wei Yongjun <weiyj.lk@gmail.com> | 2016-07-28 04:09:53 +0200 |
---|---|---|
committer | Joerg Roedel <jroedel@suse.de> | 2016-08-09 17:18:45 +0200 |
commit | a5604f260e68a45510ef773ce36ce301d1f6d102 (patch) | |
tree | 790d3f84c27a051a26e375b5fa01376fd3fdd1fe /drivers/iommu | |
parent | Linux 4.8-rc1 (diff) | |
download | linux-a5604f260e68a45510ef773ce36ce301d1f6d102.tar.xz linux-a5604f260e68a45510ef773ce36ce301d1f6d102.zip |
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 <weiyj.lk@gmail.com>
Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'drivers/iommu')
-rw-r--r-- | drivers/iommu/amd_iommu.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |