jump-label: export jump_label_inc/jump_label_dec
authorXiao Guangrong <xiaoguangrong@linux.vnet.ibm.com>
Mon, 28 Nov 2011 12:39:59 +0000 (20:39 +0800)
committerAvi Kivity <avi@redhat.com>
Tue, 27 Dec 2011 09:22:04 +0000 (11:22 +0200)
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>
kernel/jump_label.c

index 66ff7109f6970ca63cb4aa9bf6b4800d69ef2f3a..2af9027106a8a091a909e04a3849dce959aa8a65 100644 (file)
@@ -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)
 {