提交 a5604f26 编写于 作者: W Wei Yongjun 提交者: Joerg Roedel

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: NWei Yongjun <weiyj.lk@gmail.com>
Signed-off-by: NJoerg Roedel <jroedel@suse.de>
上级 29b4817d
...@@ -103,7 +103,7 @@ struct flush_queue { ...@@ -103,7 +103,7 @@ struct flush_queue {
struct flush_queue_entry *entries; 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 atomic_t queue_timer_on;
static struct timer_list queue_timer; static struct timer_list queue_timer;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册