diff options
author | Wei Yongjun <weiyj.lk@gmail.com> | 2016-07-27 22:09:53 -0400 |
---|---|---|
committer | Joerg Roedel <jroedel@suse.de> | 2016-08-09 11:18:45 -0400 |
commit | a5604f260e68a45510ef773ce36ce301d1f6d102 (patch) | |
tree | 790d3f84c27a051a26e375b5fa01376fd3fdd1fe /drivers/iommu/amd_iommu.c | |
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>
Diffstat (limited to 'drivers/iommu/amd_iommu.c')
-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 { | |||
103 | struct flush_queue_entry *entries; | 103 | struct flush_queue_entry *entries; |
104 | }; | 104 | }; |
105 | 105 | ||
106 | DEFINE_PER_CPU(struct flush_queue, flush_queue); | 106 | static DEFINE_PER_CPU(struct flush_queue, flush_queue); |
107 | 107 | ||
108 | static atomic_t queue_timer_on; | 108 | static atomic_t queue_timer_on; |
109 | static struct timer_list queue_timer; | 109 | static struct timer_list queue_timer; |