diff options
author | Xiao Guangrong <xiaoguangrong@linux.vnet.ibm.com> | 2011-11-28 20:39:59 +0800 |
---|---|---|
committer | Avi Kivity <avi@redhat.com> | 2011-12-27 11:22:04 +0200 |
commit | a65cf5181aa608addcb2873c8ed90413a9f539cb (patch) | |
tree | 3d2429790c26e3f38dc654afc404066254c4fed4 /kernel/jump_label.c | |
parent | 831bf664e9c1fc08fc6b3984d00d275cac82f5e9 (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>
Diffstat (limited to 'kernel/jump_label.c')
-rw-r--r-- | kernel/jump_label.c | 2 |
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) { |