aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXiao Guangrong <xiaoguangrong@linux.vnet.ibm.com>2011-11-28 20:39:59 +0800
committerAvi Kivity <avi@redhat.com>2011-12-27 11:22:04 +0200
commita65cf5181aa608addcb2873c8ed90413a9f539cb (patch)
tree3d2429790c26e3f38dc654afc404066254c4fed4
parent831bf664e9c1fc08fc6b3984d00d275cac82f5e9 (diff)
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>
-rw-r--r--kernel/jump_label.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/kernel/jump_label.c b/kernel/jump_label.c
index 66ff7109f69..2af9027106a 100644
--- a/kernel/jump_label.c
+++ b/kernel/jump_label.c
@@ -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)
{