diff options
author | Wei Yongjun <weiyj.lk@gmail.com> | 2016-07-28 02:09:53 +0000 |
---|---|---|
committer | Joerg Roedel <jroedel@suse.de> | 2016-08-09 17:18:45 +0200 |
commit | a5604f260e68a45510ef773ce36ce301d1f6d102 (patch) | |
tree | 790d3f84c27a051a26e375b5fa01376fd3fdd1fe | |
parent | 29b4817d4018df78086157ea3a55c1d9424a7cfc (diff) |
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>
-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; |