Skip to content

Commit a65cf51

Browse files
Xiao Guangrongavikivity
authored andcommitted
jump-label: export jump_label_inc/jump_label_dec
Export these two symbols, they will be used by KVM mmu audit Signed-off-by: Xiao Guangrong <xiaoguangrong@linux.vnet.ibm.com> Signed-off-by: Avi Kivity <avi@redhat.com>
1 parent 831bf66 commit a65cf51

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

‎kernel/jump_label.c‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ void jump_label_inc(struct jump_label_key *key)
7171
atomic_inc(&key->enabled);
7272
jump_label_unlock();
7373
}
74+
EXPORT_SYMBOL_GPL(jump_label_inc);
7475

7576
void jump_label_dec(struct jump_label_key *key)
7677
{
@@ -80,6 +81,7 @@ void jump_label_dec(struct jump_label_key *key)
8081
jump_label_update(key, JUMP_LABEL_DISABLE);
8182
jump_label_unlock();
8283
}
84+
EXPORT_SYMBOL_GPL(jump_label_dec);
8385

8486
static int addr_conflict(struct jump_entry *entry, void *start, void *end)
8587
{

0 commit comments

Comments
 (0)