summaryrefslogtreecommitdiffstats
path: root/kernel/jump_label.c
diff options
context:
space:
mode:
authorXiao Guangrong <xiaoguangrong@linux.vnet.ibm.com>2011-11-28 13:39:59 +0100
committerAvi Kivity <avi@redhat.com>2011-12-27 10:22:04 +0100
commita65cf5181aa608addcb2873c8ed90413a9f539cb (patch)
tree3d2429790c26e3f38dc654afc404066254c4fed4 /kernel/jump_label.c
parentKVM: Refactor and simplify kvm_dev_ioctl_get_supported_cpuid (diff)
downloadlinux-a65cf5181aa608addcb2873c8ed90413a9f539cb.tar.xz
linux-a65cf5181aa608addcb2873c8ed90413a9f539cb.zip
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>
Diffstat (limited to 'kernel/jump_label.c')
-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 66ff7109f697..2af9027106a8 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)
{