Browse Source

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>
Xiao Guangrong 13 years ago
parent
commit
a65cf5181a
1 changed files with 2 additions and 0 deletions
  1. 2 0
      kernel/jump_label.c

+ 2 - 0
kernel/jump_label.c

@@ -71,6 +71,7 @@ void jump_label_inc(struct jump_label_key *key)
 	atomic_inc(&key->enabled);
 	atomic_inc(&key->enabled);
 	jump_label_unlock();
 	jump_label_unlock();
 }
 }
+EXPORT_SYMBOL_GPL(jump_label_inc);
 
 
 void jump_label_dec(struct jump_label_key *key)
 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_update(key, JUMP_LABEL_DISABLE);
 	jump_label_unlock();
 	jump_label_unlock();
 }
 }
+EXPORT_SYMBOL_GPL(jump_label_dec);
 
 
 static int addr_conflict(struct jump_entry *entry, void *start, void *end)
 static int addr_conflict(struct jump_entry *entry, void *start, void *end)
 {
 {