提交 a65cf518 编写于 作者: X Xiao Guangrong 提交者: Avi Kivity

jump-label: export jump_label_inc/jump_label_dec

Export these two symbols, they will be used by KVM mmu audit
Signed-off-by: NXiao Guangrong <xiaoguangrong@linux.vnet.ibm.com>
Signed-off-by: NAvi Kivity <avi@redhat.com>
上级 831bf664
......@@ -71,6 +71,7 @@ void jump_label_inc(struct jump_label_key *key)
atomic_inc(&key->enabled);
jump_label_unlock();
}
EXPORT_SYMBOL_GPL(jump_label_inc);
void jump_label_dec(struct jump_label_key *key)
{
......@@ -80,6 +81,7 @@ void jump_label_dec(struct jump_label_key *key)
jump_label_update(key, JUMP_LABEL_DISABLE);
jump_label_unlock();
}
EXPORT_SYMBOL_GPL(jump_label_dec);
static int addr_conflict(struct jump_entry *entry, void *start, void *end)
{
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册